From 8b0c63d29a671026805cfef1bc2b1236a0383993 Mon Sep 17 00:00:00 2001 From: Connor Christian Date: Mon, 14 Dec 2020 17:25:24 -0500 Subject: [PATCH] [FIX] sale_payment_web: incorrect call on super --- sale_payment_web/wizard/account_payment_register.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)]