添加功能

This commit is contained in:
zhou
2025-06-16 09:31:20 +08:00
parent 2a305a197d
commit d4389b820f
2 changed files with 2 additions and 1 deletions
@@ -10,6 +10,7 @@
string="综合搜索"
filter_domain="['|', '|', '|', ('name', 'ilike', self), ('code', 'ilike', self), ('text', 'ilike', self), ('workflow_id.name', 'ilike', self)]"/>
<field name="code"/>
<field name="done_by"/>
<field name="workflow_id" string="审批类型"/>
<field name="text" optional="hide"/>
<field name="documents_ids" optional="hide"/>
@@ -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