Skip to content
Snippets Groups Projects
user avatar
Benoit Socias authored
When both a specific inheriting view and a non-specific base view are
written simultaneously, the specific inheriting base view must be
updated even though its id will change during the COW of the base view.

This commit sorts the list of written views in order to first handle the
website-specific ones then the base ones which might change some of the
ids of the already updated view.

Steps to reproduce in 14.0+ (no scenario found in 13.0):
- Create a new website.
- Configure the language selector layout to "Inline".
- Configure the language selector layout to "None".
=> Error notification was displayed and change was not applied.

task-2885882

closes odoo/odoo#96120

X-original-commit: cdd82554
Signed-off-by: default avatarRomain Derie (rde) <rde@odoo.com>
f15b2a45
History
Name Last commit Last update
..