添加功能

This commit is contained in:
zhou
2025-06-25 18:08:14 +08:00
parent 4e3ac7bc5f
commit 237a990362
@@ -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: