summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/control_panel/control_panel_model_tests.js
AgeCommit message (Collapse)Author
2020-07-23[IMP] *: adapt tests to Owl search panelJulien Mougenot
Adaptation of the tests to the changes regarding the refactored search panel and model. Part of task 2228968 Co-authored-by: Julien Mougenot <jum@odoo.com> Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com>
2020-06-30[FIX] web: Allow default favorite filter over search defaultJulien Mougenot
Before this commit, when a search_default on a many2one field tried to update its label after a name_get, the value was set on its initial associated query element which could have been erased by a default favorite. Now, the model determines whether there is a default favorite before processing default filters, preventing any unnecessary RPC. closes odoo/odoo#53840 X-original-commit: ff834d0ba6f9b7eadc23c28dbbf892eba2058583 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2020-06-04[IMP] *: adapt tests to comparison menuMathieu Duckerts-Antoine
Tests have been adapted accross all affected modules to support the new "comparison" menu component. Task ID: 2245719 Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com> Co-authored-by: Julien Mougenot <jum@odoo.com>
2020-03-20[FIX] web: do not activate falsy search defaultsMathieu Duckerts-Antoine
Before this commit, if an action context would contain a key/value pair like search_default_foo : 0 the filter foo would be activated, while it should be not considered as default. The present commit fixes that situation. closes odoo/odoo#47958 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2020-03-13[REF] web: Control panel testsJulien Mougenot
Use of the new helpers in control panel (and subcomponents) tests and addition of new tests. Part of task 2196029 Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com>