From b5f6c93dba1bde5b89e522ad8da8a344a3234fb0 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, 16 Sep 2025 16:53:36 +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 10975986a..2da8edda6 100644 --- a/yuthon_property_approval/wizard/property_reconciliation_wizard.py +++ b/yuthon_property_approval/wizard/property_reconciliation_wizard.py @@ -401,7 +401,7 @@ class PropertyReconciliationWizard(models.Model): ] # 检查是否已有相同记录 existing_record = self.env['property.accounts.receivable'].search(check_domain) - is_reconciliation = line.amount == round(line.rent, 2) + is_reconciliation = round(line.amount,2) == round(line.rent, 2) if not existing_record: domain2 = [