summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/search.js
diff options
context:
space:
mode:
authorniv-openerp <nicolas.vanhoren@openerp.com>2013-03-18 18:45:03 +0100
committerniv-openerp <nicolas.vanhoren@openerp.com>2013-03-18 18:45:03 +0100
commita6a8d71a0e51afd4ebe5fee2dbe8640d2503e9b2 (patch)
tree1e40ef6d7ea4e5731eb3a1fc6ac4aa5dff7b9c30 /addons/web/static/src/js/search.js
parent662f4066f83b7211f067376d4e2eaf795db6be2b (diff)
[FIX] calls to fields_view_get do not pass the correct context, fails in o2m
lp bug: https://launchpad.net/bugs/1091204 fixed bzr revid: nicolas.vanhoren@openerp.com-20130318174503-7xp04ccghdbqfvrl
Diffstat (limited to 'addons/web/static/src/js/search.js')
-rw-r--r--addons/web/static/src/js/search.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/static/src/js/search.js b/addons/web/static/src/js/search.js
index d0dfa9b4bfd..d7331d2cda8 100644
--- a/addons/web/static/src/js/search.js
+++ b/addons/web/static/src/js/search.js
@@ -389,6 +389,7 @@ instance.web.SearchView = instance.web.Widget.extend(/** @lends instance.web.Sea
model: this.dataset._model,
view_id: this.view_id,
view_type: 'search',
+ context: this.dataset.get_context(),
});
$.when(load_view).then(function (r) {