[FIX] Added the context of the action when evaluating the domain.

bzr revid: vta@openerp.com-20121204093326-plc4pf4qszok1rw6
This commit is contained in:
vta vta@openerp.com 2012-12-04 10:33:26 +01:00
parent f231b5b5f6
commit dd539643e6
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ instance.web.ActionManager = instance.web.Widget.extend({
}
if (action.domain) {
action.domain = instance.web.pyeval.eval(
'domain', action.domain);
'domain', action.domain, action.context || {});
}
if (!action.type) {