Skip to content
Snippets Groups Projects
Commit c673d9db authored by Jinane Maksoud's avatar Jinane Maksoud
Browse files

[FIX] models: add xmlid for inherited selection values


If model A has a selection field, and is inherited by 2 modules
B and C, B adds selection values to the field, and C inherits model
A under a different module and model names.
Based on the order of installation of B and C, we may end up with
different xmlids.
If B is installed before C, then B will add xmlids for the new
selection values added for model C. But if C is installed before
B, then C will have the selection values from B without xmlids.
The change here ensures that the selection values introduced by B
will always have correct xmlids.

closes odoo/odoo#127251

Signed-off-by: default avatarRaphael Collet <rco@odoo.com>
parent 07c94664
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment