From 7516384a4c6841744a93264491051d7662144c9e 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, 24 Nov 2025 18:06:12 +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 86c0cc282..0436623c7 100644 --- a/yuthon_property_approval/wizard/property_reconciliation_wizard.py +++ b/yuthon_property_approval/wizard/property_reconciliation_wizard.py @@ -627,7 +627,7 @@ class PropertyReconciliationLine(models.Model): def onchange_remake(self): for line in self: actual_date = fields.Date.to_date(line.reconciliation_id.bank_id.start_time + relativedelta(hours=8)) - if round(line.rent or 0, 2) == 0 and line.collection_type != 'penalty': + if round(line.amount or 0, 2) == 0 and line.collection_type != 'penalty': line.remake = "" return if line.amount and line.collection_type != 'penalty':