[FIX] account_mass_reconcile: add dependency to correctly compute counter after reconcilation
parent
3d0fc5aee2
commit
f724ed9b21
|
@ -117,7 +117,7 @@ class AccountMassReconcile(models.Model):
|
||||||
_description = 'account mass reconcile'
|
_description = 'account mass reconcile'
|
||||||
|
|
||||||
@api.multi
|
@api.multi
|
||||||
@api.depends('account')
|
@api.depends('account', 'history_ids')
|
||||||
def _get_total_unrec(self):
|
def _get_total_unrec(self):
|
||||||
obj_move_line = self.env['account.move.line']
|
obj_move_line = self.env['account.move.line']
|
||||||
for rec in self:
|
for rec in self:
|
||||||
|
|
Loading…
Reference in New Issue