[FIX] account_mass_reconcile: add dependency to correctly compute counter after reconcilation

This commit is contained in:
Iryna Vushnevska
2020-03-16 11:06:29 +02:00
parent 3d0fc5aee2
commit f724ed9b21

View File

@@ -117,7 +117,7 @@ class AccountMassReconcile(models.Model):
_description = 'account mass reconcile'
@api.multi
@api.depends('account')
@api.depends('account', 'history_ids')
def _get_total_unrec(self):
obj_move_line = self.env['account.move.line']
for rec in self: