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):