[imp] modified behavior of domain evaluation, now does not rely anymore on a context for evaluation

bzr revid: nicolas.vanhoren@openerp.com-20110628145413-ljqdmunxi7ykmytz
This commit is contained in:
niv-openerp 2011-06-28 16:54:13 +02:00
parent 63a5ac2355
commit e819561d1a
1 changed files with 2 additions and 1 deletions

View File

@ -234,7 +234,8 @@ class Session(openerpweb.Controller):
def eval_context_and_domain(session, context, domain=None):
e_context = session.eval_context(context)
e_domain = session.eval_domain(domain or [], e_context)
# should we give the evaluated context as an evaluation context to the domain?
e_domain = session.eval_domain(domain or [])
return (e_context, e_domain)