From bdfb4a8c50dce04c8a1b7cfaaf2da901ac389fe9 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, 27 Oct 2025 10:34:40 +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 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yuthon_property_approval/wizard/property_reconciliation_wizard.py b/yuthon_property_approval/wizard/property_reconciliation_wizard.py index ae8247a29..6bf11b90d 100644 --- a/yuthon_property_approval/wizard/property_reconciliation_wizard.py +++ b/yuthon_property_approval/wizard/property_reconciliation_wizard.py @@ -393,7 +393,7 @@ class PropertyReconciliationWizard(models.Model): for line in rec.reconciliation_line_ids: remaining_amount += line.amount - if round(rec.actual_total, 2) > round(remaining_amount, 2): + if round(rec.bank_id.no_amount, 2) > round(remaining_amount, 2): rec.bank_id.registered = rec.actual_total - remaining_amount rec.bank_id.bank_state = 'registered' else: