-
- Downloads
[IMP] web: Owl compatibility: add ComponentAdapter
This commit adds the ComponentAdapter, an Owl component meant to be used as universal adapter for Owl components that embed Odoo legacy widgets. This component will be a precious tool during the transition phase of converting our JS codebase from the legacy (widget) framework to Owl.
Showing
- addons/web/static/src/js/env.js 65 additions, 6 deletionsaddons/web/static/src/js/env.js
- addons/web/static/src/js/owl_compatibility.js 258 additions, 0 deletionsaddons/web/static/src/js/owl_compatibility.js
- addons/web/static/tests/helpers/test_env.js 19 additions, 2 deletionsaddons/web/static/tests/helpers/test_env.js
- addons/web/static/tests/helpers/test_utils.js 1 addition, 0 deletionsaddons/web/static/tests/helpers/test_utils.js
- addons/web/static/tests/helpers/test_utils_mock.js 69 additions, 7 deletionsaddons/web/static/tests/helpers/test_utils_mock.js
- addons/web/static/tests/owl_compatibility_tests.js 674 additions, 0 deletionsaddons/web/static/tests/owl_compatibility_tests.js
- addons/web/views/webclient_templates.xml 4 additions, 0 deletionsaddons/web/views/webclient_templates.xml
Loading
Please register or sign in to comment