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 → 补交