[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:
parent
5f7d98ef25
commit
af2d74f26c
|
@ -2697,7 +2697,7 @@ openerp.web.form.SelectCreatePopup = openerp.web.OldWidget.extend(/** @lends ope
|
||||||
contexts, groupbys);
|
contexts, groupbys);
|
||||||
self.initial_ids = undefined;
|
self.initial_ids = undefined;
|
||||||
} else {
|
} 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 () {
|
this.searchview.on_loaded.add_last(function () {
|
||||||
|
|
Loading…
Reference in New Issue