From ba0e26f7581d236dff82502e0cb1af11a2f930d7 Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Sat, 23 Aug 2025 15:13:29 +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 --- .../wizard/property_reconciliation_wizard.py | 2 -- .../wizard/property_reconciliation_wizard_views.xml | 2 +- yuthon_purchase/views/purchase_workflow_views.xml | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/yuthon_property_approval/wizard/property_reconciliation_wizard.py b/yuthon_property_approval/wizard/property_reconciliation_wizard.py index c93f3e16e..85c724dfe 100644 --- a/yuthon_property_approval/wizard/property_reconciliation_wizard.py +++ b/yuthon_property_approval/wizard/property_reconciliation_wizard.py @@ -342,7 +342,6 @@ class PropertyReconciliationWizard(models.Model): is_reconciliation = line.amount == round(line.rent, 2) if not existing_record: - _logger.info(f"为找到对应的应收日期{existing_record.due_date}{existing_record.property_id.name}的记录,创建新记录") domain2 = [ ('due_date', '=', line.due_date), ('property_id', '=', line.property_id.id), @@ -376,7 +375,6 @@ class PropertyReconciliationWizard(models.Model): 'is_write': True if line.amount != 0 else None, 'reconciliation_time': fields.Datetime.now(), }) - _logger.info(f"已更新记录 - 物业: {line.property_id.name if line.property_id else '未知'}, 应收日期: {existing_record.due_date}") # 计算已对账和未对账金额 rec.amount_been_reconciled += line.amount diff --git a/yuthon_property_approval/wizard/property_reconciliation_wizard_views.xml b/yuthon_property_approval/wizard/property_reconciliation_wizard_views.xml index 3300e3b64..168a80ac0 100644 --- a/yuthon_property_approval/wizard/property_reconciliation_wizard_views.xml +++ b/yuthon_property_approval/wizard/property_reconciliation_wizard_views.xml @@ -34,7 +34,7 @@ - + diff --git a/yuthon_purchase/views/purchase_workflow_views.xml b/yuthon_purchase/views/purchase_workflow_views.xml index 437b129d7..d6890cb35 100644 --- a/yuthon_purchase/views/purchase_workflow_views.xml +++ b/yuthon_purchase/views/purchase_workflow_views.xml @@ -48,7 +48,7 @@ - +