[FIX] account: keep receivable account on duplicate invoice
Steps to reproduce:
* create an invoice with a line
* change the receivable account
* duplicate the invoice
Result: the receivable account is recomputed to the default one.
Expected: we should keep it.
task-3504443
closes odoo/odoo#135366
Signed-off-by:
Brice Bartoletti (bib) <bib@odoo.com>
Showing
- addons/account/models/account_move.py 0 additions, 1 deletionaddons/account/models/account_move.py
- addons/account/models/account_move_line.py 0 additions, 1 deletionaddons/account/models/account_move_line.py
- addons/account/tests/test_account_move_out_invoice.py 25 additions, 0 deletionsaddons/account/tests/test_account_move_out_invoice.py
Loading
Please register or sign in to comment