diff --git a/addons/account/wizard/account_payment_register.py b/addons/account/wizard/account_payment_register.py index 491415271eb..66a6d277198 100644 --- a/addons/account/wizard/account_payment_register.py +++ b/addons/account/wizard/account_payment_register.py @@ -282,7 +282,7 @@ class AccountPaymentRegister(models.TransientModel): # it's a compute editable field and then, should be computed in a separated method. for wizard in self: if wizard.can_edit_wizard: - batches = self._get_batches() + batches = wizard._get_batches() wizard.communication = wizard._get_batch_communication(batches[0]) else: wizard.communication = False