From 146825b6aa8ab17d4ff395c1157c135498b90f2b 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: Fri, 24 Oct 2025 11:51:00 +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 857c0e893..af146a6e9 100644 --- a/yuthon_property_approval/wizard/property_reconciliation_wizard.py +++ b/yuthon_property_approval/wizard/property_reconciliation_wizard.py @@ -43,7 +43,7 @@ class PropertyReconciliationWizard(models.Model): for line in rec.reconciliation_line_ids: if line.amount: if line.due_date.month == rec.actual_date.month and line.due_date.year == line.due_date.year: - if line.rent > line.amount: + if line.rent >= line.amount: due_date_str = fields.Date.to_date(line.due_date).strftime('%Y-%m') line.remake = f'交{due_date_str},欠{line.rent - line.amount}' if line.due_date.month != rec.actual_date.month and line.collection_type == 'rent':