odoo/odoo#202814

Created by fw-bot
Merged at 117dc788259a92e2d78d0cdbca5a0b4dcf39171c

Statuses:

label
odoo-dev:master-17.0-automate-change-plan-wan-424545-fw
head
d37ba88c1fcacb194718b620662d830eaa89cc7d
merged
7 months ago by Accounting, William André (wan)
odoo/odoo
17.0 #199287
saas-17.4 #200655
18.0 #201645
saas-18.1 #202207
saas-18.2 #202807
saas-18.3
saas-18.4
19.0
master #202814

[FW][FIX] analytic: adapt lines columns when changing plan of account

Currently, changing the plan of an analytic account won't do anything with regards to the analytic lines currently using that account: the value will stay recorded in a wrong field.

This commit will update all the lines currently using that account in the column of the previous plan.

opw-4338406

Forward-Port-Of: #202207
Forward-Port-Of: #199287