summaryrefslogtreecommitdiff
path: root/addons/web/views
diff options
context:
space:
mode:
authorJulien Mougenot <jum@odoo.com>2020-07-13 13:23:36 +0000
committerMathieu Duckerts-Antoine <dam@odoo.com>2020-07-23 08:21:10 +0000
commitbb3bc7c9e4992dc07b10e87f87662bdd72f24d88 (patch)
tree073d814a44b00f13d7e8d5c9d939f169d54bbb08 /addons/web/views
parent3162141e4d71e9c55aff5241c5578571b68c332d (diff)
[IMP] *: adapt modules to Owl search panel
Adaptation of the rest of the environment to the changes regarding the refactored search panel and model. This commit includes the following changes: - Since the control panel model is now part of the search model, the view widget is responsible of its instantiation with the appropriate API; creating an ActionModel holding the required model extensions. - The controller is now importing/exporting the state of the entire search model as well as the current state of the search panel (given throught its props). Changes have been made to adapt to this behaviour. - The multiple components linked to the control panel model have been adapted to reflect the changes brought to it (they will now listen to the "searchModel" instead of the "controlPanelModel"). - The `test_utils_create` methods have also been adapted to properly instantiate a searchModel Part of task 2228968 Co-authored-by: Julien Mougenot <jum@odoo.com> Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com>
Diffstat (limited to 'addons/web/views')
-rw-r--r--addons/web/views/webclient_templates.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/views/webclient_templates.xml b/addons/web/views/webclient_templates.xml
index 42492ede85a..c0812ace9da 100644
--- a/addons/web/views/webclient_templates.xml
+++ b/addons/web/views/webclient_templates.xml
@@ -751,7 +751,7 @@
<script type="text/javascript" src="/web/static/tests/components/action_menus_tests.js"></script>
<script type="text/javascript" src="/web/static/tests/components/dropdown_menu_tests.js"></script>
- <script type="text/javascript" src="/web/static/tests/control_panel/control_panel_model_tests.js"></script>
+ <script type="text/javascript" src="/web/static/tests/control_panel/control_panel_model_extension_tests.js"></script>
<script type="text/javascript" src="/web/static/tests/control_panel/control_panel_tests.js"></script>
<script type="text/javascript" src="/web/static/tests/control_panel/comparison_menu_tests.js"></script>
<script type="text/javascript" src="/web/static/tests/control_panel/favorite_menu_tests.js"></script>