Skip to content
Snippets Groups Projects
Commit b5c9387c authored by Damien Bouvy's avatar Damien Bouvy
Browse files

[FIX] account: remove bank accounts when switching move type


When switching a invoice to a refund, the bank account to which the move
should be paid should be removed: while it (might) contain the partner's
bank account before, when becoming a refund it makes no sense to keep
the partner's bank account as the recipient.

closes odoo/odoo#43176

X-original-commit: e94234f4
Signed-off-by: default avatarDamien Bouvy (dbo) <dbo@odoo.com>
parent a0f02bd5
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment