[ADD] web: add owl AbstractField
This commit adds the new AbstractField class written in owl,
meant to be extended by specific Field owl implementations.
Note that its API is not complete yet, but it is enough for
basic usecases.
This commit also adapts the BasicRenderer to instantiate the
future new fields that will be written in owl.
closes odoo/odoo#43759
Related: odoo/enterprise#7872
Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
Showing
- addons/web/static/src/js/fields/abstract_field_owl.js 521 additions, 0 deletionsaddons/web/static/src/js/fields/abstract_field_owl.js
- addons/web/static/src/js/fields/field_wrapper.js 126 additions, 0 deletionsaddons/web/static/src/js/fields/field_wrapper.js
- addons/web/static/src/js/owl_compatibility.js 29 additions, 21 deletionsaddons/web/static/src/js/owl_compatibility.js
- addons/web/static/src/js/views/basic/basic_renderer.js 64 additions, 11 deletionsaddons/web/static/src/js/views/basic/basic_renderer.js
- addons/web/static/src/js/views/form/form_renderer.js 6 additions, 2 deletionsaddons/web/static/src/js/views/form/form_renderer.js
- addons/web/views/webclient_templates.xml 2 additions, 0 deletionsaddons/web/views/webclient_templates.xml
Loading
Please register or sign in to comment