diff options
| author | Aaron Bohy <aab@odoo.com> | 2019-09-10 13:30:38 +0000 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2019-09-16 07:29:43 +0000 |
| commit | 127be68cca0693b37a7213204c497c968d4f56db (patch) | |
| tree | 3e67810a223fac87b910d748f9009935d16f9a91 /addons/web/static/tests/chrome | |
| parent | 2500db4213109465c8489d03e5e98d977a443df0 (diff) | |
[FIX] web: do not disable searchpanel on button clicked
Before this rev., the searchpanel was automatically disabled (not
present) in actions obtained by following links or buttons (e.g.
stat buttons).
This rev. removes this constraint, but adds the possibiliy to
disable it by setting key 'search_panel' to false in the context.
Note that in this case, the active categories are never retrieved
from the local storage (i.e. the last one set). If no default is
given, 'All' is simply selected (no domain).
Task 2069310
Diffstat (limited to 'addons/web/static/tests/chrome')
| -rw-r--r-- | addons/web/static/tests/chrome/action_manager_tests.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/tests/chrome/action_manager_tests.js b/addons/web/static/tests/chrome/action_manager_tests.js index bc40fc97011..002a52f572f 100644 --- a/addons/web/static/tests/chrome/action_manager_tests.js +++ b/addons/web/static/tests/chrome/action_manager_tests.js @@ -3518,7 +3518,7 @@ QUnit.module('ActionManager', { active_ids: [1], }, flags: { - withSearchPanel: false, + searchPanelDefaultNoFilter: true, }, }); var checkSessionStorage = false; |
