-
- Downloads
[MOV] web: move the domain selector component to web
Purpose ======= For security reason access on ir.model is not granted to internal suers. Due to this constraint a component exists in spreadsheet to be able to select the models for which we have a read access on the records of this model. This is required for the properties fields feature, hence moving its code to web. Some renaming is performed to make it generic. This generates some changes in other addons, notably some class renaming.el. Task-2852259 Part-of: odoo/odoo#95184
Showing
- addons/web/models/__init__.py 1 addition, 0 deletionsaddons/web/models/__init__.py
- addons/web/models/ir_model.py 34 additions, 0 deletionsaddons/web/models/ir_model.py
- addons/web/static/src/core/model_selector/model_selector.js 74 additions, 0 deletionsaddons/web/static/src/core/model_selector/model_selector.js
- addons/web/static/src/core/model_selector/model_selector.xml 21 additions, 0 deletionsaddons/web/static/src/core/model_selector/model_selector.xml
- addons/web/static/tests/core/model_selector_test.js 227 additions, 0 deletionsaddons/web/static/tests/core/model_selector_test.js
- addons/web/tests/__init__.py 1 addition, 0 deletionsaddons/web/tests/__init__.py
- addons/web/tests/test_ir_model.py 65 additions, 0 deletionsaddons/web/tests/test_ir_model.py
addons/web/models/ir_model.py
0 → 100644
addons/web/tests/test_ir_model.py
0 → 100644
Please register or sign in to comment