From d4389b820fe7ee19075706cbc5fa690e9a561d99 Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Mon, 16 Jun 2025 09:31:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- soong_workflow/views/soong_workflow_record.xml | 1 + yuthon_property/wizard/property_statements_wizard.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/soong_workflow/views/soong_workflow_record.xml b/soong_workflow/views/soong_workflow_record.xml index a286b5f71..6270080c5 100644 --- a/soong_workflow/views/soong_workflow_record.xml +++ b/soong_workflow/views/soong_workflow_record.xml @@ -10,6 +10,7 @@ string="综合搜索" filter_domain="['|', '|', '|', ('name', 'ilike', self), ('code', 'ilike', self), ('text', 'ilike', self), ('workflow_id.name', 'ilike', self)]"/> + diff --git a/yuthon_property/wizard/property_statements_wizard.py b/yuthon_property/wizard/property_statements_wizard.py index a5aa97c4e..6b53a3a00 100644 --- a/yuthon_property/wizard/property_statements_wizard.py +++ b/yuthon_property/wizard/property_statements_wizard.py @@ -39,7 +39,7 @@ class PropertyStatementsWizard(models.Model): name_account = row[1].value remake = row[2].value original_amount = row[3].value - your_own_account = row[6] + your_own_account = row[6].value cleaned_amount = original_amount.replace(',', '') # 移除逗号 float_amount = float(cleaned_amount) sequence_number = row[5].value