添加功能
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user