summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorLucas Perais (lpe) <lpe@odoo.com>2019-07-04 07:40:18 +0000
committerAaron Bohy <aab@odoo.com>2019-07-19 08:39:07 +0000
commitdd7022eccd99b5ba9688f63b517d23c405f23797 (patch)
tree2e1d786ec1527a027ac2df693f21a3d6ddb131ee /addons/web/static/src/js/views/basic
parent38b5a666c50d47a0efe060c031d68a2d70689dc6 (diff)
[IMP] base,web*: searchpanel in all multi record views
Before this rev. the searchpanel could only be activated in kanban views (and it was specified in the kanban arch). From now on, the searchpanel can be activated in any multi record view. It's arch is moved to the search view arch (inside the <searchpanel> tag). Task 1985921 Co-authored-by: Aaron Bohy <aab@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic')
-rw-r--r--addons/web/static/src/js/views/basic/basic_view.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/views/basic/basic_view.js b/addons/web/static/src/js/views/basic/basic_view.js
index 008bbcf8775..fde334d79d0 100644
--- a/addons/web/static/src/js/views/basic/basic_view.js
+++ b/addons/web/static/src/js/views/basic/basic_view.js
@@ -52,8 +52,8 @@ var BasicView = AbstractView.extend({
this.loadParams.fieldsInfo = this.fieldsInfo;
this.loadParams.fields = this.fields;
this.loadParams.limit = parseInt(this.arch.attrs.limit, 10) || params.limit;
- this.loadParams.viewType = this.viewType;
this.loadParams.parentID = params.parentID;
+ this.loadParams.viewType = this.viewType;
this.recordID = params.recordID;
this.model = params.model;