diff options
| author | Vaibhav (OpenERP) <vda@tinyerp.com> | 2012-01-27 16:50:50 +0530 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-01-27 16:50:50 +0530 |
| commit | af2d74f26c96c5da4f8f7201d4c412b86b85146a (patch) | |
| tree | fede785e9e22416f76b72c0ce41e10df5f07664d /addons/web/static/src/js | |
| parent | 5f7d98ef2535f4d9dd39a5cea1ddb25774f81480 (diff) | |
[FIX] lost field context while popup search view loaded. ex. in case of account tax m2m
lp bug: https://launchpad.net/bugs/912814 fixed
bzr revid: vda@tinyerp.com-20120127112050-xu7yljp0a2mh01km
Diffstat (limited to 'addons/web/static/src/js')
| -rw-r--r-- | addons/web/static/src/js/view_form.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index fb4efde8fd3..bafac0395e8 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -2697,7 +2697,7 @@ openerp.web.form.SelectCreatePopup = openerp.web.OldWidget.extend(/** @lends ope contexts, groupbys); self.initial_ids = undefined; } else { - self.do_search(domains.concat([self.domain]), contexts, groupbys); + self.do_search(domains.concat([self.domain]), contexts.concat(self.context), groupbys); } }); this.searchview.on_loaded.add_last(function () { |
