From 05abfe246d58f4f817e0214c99e1fc5f1c2b344d Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Tue, 29 Jul 2025 23:07:42 +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, 2 insertions(+), 1 deletion(-) diff --git a/yuthon_property_approval/wizard/property_reconciliation_wizard.py b/yuthon_property_approval/wizard/property_reconciliation_wizard.py index e03d97710..77254dfbd 100644 --- a/yuthon_property_approval/wizard/property_reconciliation_wizard.py +++ b/yuthon_property_approval/wizard/property_reconciliation_wizard.py @@ -107,7 +107,8 @@ class PropertyReconciliationWizard(models.Model): def confirm(self): for rec in self: bank_lines = self.env['property.bank.line'].search([ - ('bank', '=', rec.bank_id.name) + ('bank', '=', rec.bank_id.name), + ('tenant_id.name', '!=', False) ]) if bank_lines: if rec.actual_total > rec.receivable_total: