diff options
| author | Lucas Lefèvre <lul@odoo.com> | 2020-02-28 11:25:41 +0000 |
|---|---|---|
| committer | Lucas Lefèvre <lul@odoo.com> | 2020-03-03 11:01:03 +0000 |
| commit | b7d1db596bf2dcbf5d95d7258d9a2978bc0003f8 (patch) | |
| tree | 23827e84f2bc40d4261dcfb326d507a723b47ec2 /addons/web/views/webclient_templates.xml | |
| parent | 4f602d31b4062723149989142bcc0926f2c76160 (diff) | |
[FIX] web: Call on_attach_callback on systray widgets
Currently, the method `on_attach_callback` is never called on any Widget in the
systray.
Calling `on_attach_callback` is required if any systray widget uses an OWL
component via the ComponentWrapper. Without the callback, the component is never
considered mounted to the DOM and no event handler is triggered.
closes odoo/odoo#46566
Related: odoo/enterprise#8887
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/web/views/webclient_templates.xml')
| -rw-r--r-- | addons/web/views/webclient_templates.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/views/webclient_templates.xml b/addons/web/views/webclient_templates.xml index 39513722b99..62ebfb2d6da 100644 --- a/addons/web/views/webclient_templates.xml +++ b/addons/web/views/webclient_templates.xml @@ -723,6 +723,7 @@ <script type="text/javascript" src="/web/static/tests/chrome/action_manager_tests.js"></script> <script type="text/javascript" src="/web/static/tests/chrome/pager_tests.js"></script> <script type="text/javascript" src="/web/static/tests/chrome/keyboard_navigation_mixin_tests.js"></script> + <script type="text/javascript" src="/web/static/tests/chrome/menu_tests.js"></script> <script type="text/javascript" src="/web/static/tests/chrome/user_menu_tests.js"></script> <script type="text/javascript" src="/web/static/tests/chrome/systray_tests.js"></script> |
