odoo/upgrade-util#278

Created by Upgrade, Alvaro Fuentes Suarez (afu)
Merged at 1ff209afa5f3d76e6503fe610baa4fa2308d19e3

Statuses:

Linked pull requests
label
odoo-dev:master-imp_check_m2m-afu
head
74826f635bb81bc5ff3c476f1352f53ff8a1fab6
merged
1 week ago by Upgrade, Christophe Simonis (chs)
odoo/upgrade odoo/upgrade-util
master #7752 #278

[IMP] util/models: check m2m tables on model rename

When renaming a model we need to check m2m tables that may need to be
renamed as well. Otherwise the ORM will create a new table that would be
empty. If the data is handled directly in the scripts the ignore
parameter can be used to avoid warnings.