From b115438c21ad8d717267ef5b512ece5e9fdb6ba1 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, 28 Nov 2025 20:17:12 +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, 1 insertion(+), 2 deletions(-) diff --git a/yuthon_property_approval/wizard/property_reconciliation_wizard.py b/yuthon_property_approval/wizard/property_reconciliation_wizard.py index baf2ae64a..ae4921808 100644 --- a/yuthon_property_approval/wizard/property_reconciliation_wizard.py +++ b/yuthon_property_approval/wizard/property_reconciliation_wizard.py @@ -23,7 +23,7 @@ class PropertyReconciliationWizard(models.Model): amount_been_reconciled = fields.Float(string='已对金额', store=True) amount_water_been = fields.Float(string='已对流水金额', store=True) amount_water = fields.Float(string='未对流水金额', store=True) - amount_reconciled = fields.Float(string='未核销', store=True, compute="_compute_receivable_total",) + amount_reconciled = fields.Float(string='未核销', store=True) actual_total = fields.Float(string='实收金额') actual_date = fields.Date(string='实收日期') initial_total = fields.Float(string='初始金额', default=0.0) @@ -122,7 +122,6 @@ class PropertyReconciliationWizard(models.Model): if to_delete: rec.reconciliation_line_ids = to_delete - rec._compute_receivable_total() @api.onchange('actual_total') def compute_reconciliation_line_ids(self):