From 32da83aaf4e94fb4094c59ee5198a3968bc08730 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: Tue, 31 Mar 2026 11:45:47 +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 | 3 --- 1 file changed, 3 deletions(-) diff --git a/yuthon_property_approval/wizard/property_reconciliation_wizard.py b/yuthon_property_approval/wizard/property_reconciliation_wizard.py index fbc442a8d..30c0fa634 100644 --- a/yuthon_property_approval/wizard/property_reconciliation_wizard.py +++ b/yuthon_property_approval/wizard/property_reconciliation_wizard.py @@ -570,14 +570,11 @@ class PropertyReconciliationLine(models.Model): rent_month = round(line.rent_month or 0, 2) amount = round(line.amount or 0, 2) debt_amount = round(rent - amount, 2) - - # ===================== 不显示备注条件 ===================== same_month = (due_month == actual_month) and (due_year == actual_year) no_remark = same_month and (rent == rent_month) if no_remark: line.remake = "" continue - debt_str = f',欠{debt_amount}' if debt_amount != 0 else '' if same_month: # 条件1:rent_month≠rent 且 rent_month≠amount 且 amount≠0 → 补交