From b7a708e2ef8130975bf32ddc221df6249aeb682f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= <9664676+pengyuthon@user.noreply.gitee.com> Date: Mon, 13 Apr 2026 21:32:39 +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 --- .../views/inherit_yuthon_property_views.xml | 1 + .../wizard/property_reconciliation_wizard.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/yuthon_property_approval/views/inherit_yuthon_property_views.xml b/yuthon_property_approval/views/inherit_yuthon_property_views.xml index 5cd77ebee..c1012b70b 100644 --- a/yuthon_property_approval/views/inherit_yuthon_property_views.xml +++ b/yuthon_property_approval/views/inherit_yuthon_property_views.xml @@ -459,6 +459,7 @@ + diff --git a/yuthon_property_approval/wizard/property_reconciliation_wizard.py b/yuthon_property_approval/wizard/property_reconciliation_wizard.py index 2833094ef..f002c4efb 100644 --- a/yuthon_property_approval/wizard/property_reconciliation_wizard.py +++ b/yuthon_property_approval/wizard/property_reconciliation_wizard.py @@ -491,6 +491,9 @@ class PropertyReconciliationWizard(models.Model): ) if deposit_id: deposit_id.deposit_state = 'yes' + deposit_id.contract_id.contact_state = 'settle' + deposit_id.has_date = fields.Datetime.now() + deposit_id.contract_id.compute_is_has() receivable_id.write({ 'delivered1': receivable_id.delivered1 + line.amount,