diff --git a/sale_payment_web/wizard/account_payment_register.py b/sale_payment_web/wizard/account_payment_register.py index 53092f00..f669f9eb 100644 --- a/sale_payment_web/wizard/account_payment_register.py +++ b/sale_payment_web/wizard/account_payment_register.py @@ -74,7 +74,7 @@ class AccountPaymentRegister(models.TransientModel): def _onchange_journal(self): active_ids = self._context.get('active_ids') if self._context.get('active_model') != 'sale.order' or not active_ids: - return super(AccountPaymentRegister, self).default_get(fields) + return super(AccountPaymentRegister, self)._onchange_journal() journal = self.journal_id if journal: domain_payment = [('payment_type', '=', 'inbound'), ('id', 'in', journal.inbound_payment_method_ids.ids)]