summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/chrome
diff options
context:
space:
mode:
authorJulien Mougenot <jum@odoo.com>2020-07-31 11:52:25 +0000
committerJulien Mougenot <jum@odoo.com>2020-08-04 12:46:27 +0000
commit2524c7aaace5ce314eace5517285bf13586fb176 (patch)
tree5c2db53a8cb2bab5cb8459ba5ef42d3c4b0cef64 /addons/web/static/src/js/chrome
parentcc6a60bec935a42e19bac0bef5771dfcbad81f83 (diff)
[IMP] web: Do not store search panel categories
This commit handles two things: 1) Move the local storage logic of the search panel into the documents module. 2) This allows for a variety of optimisations now that we do not have to constantly wait for a potential default value hidden in the storage. This is why this commit also introduces a way for the search panel model extension to sometimes return its query informations sooner than after being completely loaded. Task 2284207
Diffstat (limited to 'addons/web/static/src/js/chrome')
-rw-r--r--addons/web/static/src/js/chrome/action_manager_act_window.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/web/static/src/js/chrome/action_manager_act_window.js b/addons/web/static/src/js/chrome/action_manager_act_window.js
index 749feacb3d6..ee39d7cb7a7 100644
--- a/addons/web/static/src/js/chrome/action_manager_act_window.js
+++ b/addons/web/static/src/js/chrome/action_manager_act_window.js
@@ -693,7 +693,6 @@ ActionManager.include({
if (config.device.isMobile && actionData.mobile) {
options = Object.assign({}, options, actionData.mobile);
}
- action.flags = _.extend({}, action.flags, {searchPanelDefaultNoFilter: true});
return self.doAction(action, options).then(ev.data.on_success, ev.data.on_fail);
});
},