[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
This commit is contained in:
Vaibhav (OpenERP) 2012-01-27 16:50:50 +05:30 committed by niv-openerp
parent 5f7d98ef25
commit af2d74f26c
1 changed files with 1 additions and 1 deletions

View File

@ -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 () {