The mistake was made in odoo#81904 Instead of 'default_partner_bank_id' we have 'partner_bank_id' in the context of action_register_payment. In this commit, we undo that mistake and also backport the change to v15. task - 2774594 closes odoo/odoo#97886 X-original-commit: 5c8b74bb3bddd67b5a76d37f7d97a1d5d77c00c4 Signed-off-by: Kevin Baptiste <kba@odoo.com>