diff --git a/yuthon_property_approval/wizard/property_reconciliation_wizard.py b/yuthon_property_approval/wizard/property_reconciliation_wizard.py index 4b8cb887e..04f01a8c8 100644 --- a/yuthon_property_approval/wizard/property_reconciliation_wizard.py +++ b/yuthon_property_approval/wizard/property_reconciliation_wizard.py @@ -19,8 +19,9 @@ class PropertyReconciliationWizard(models.Model): @api.depends('reconciliation_line_ids') def _compute_amount(self): - self.amount_been_reconciled = 0.0 - self.amount_reconciled = 0.0 + for rec in self: + rec.amount_been_reconciled = 0.0 + rec.amount_reconciled = 0.0 for line in self.reconciliation_line_ids: self.amount_been_reconciled += line.amount if self.actual_total > self.amount_been_reconciled: