kernel: fix context in search / where_calc

bzr revid: ced-f229f1e7b377fdc7eee72c308a66cd86be9b3766
This commit is contained in:
ced 2007-07-26 08:31:18 +00:00
parent 93ee283306
commit 9afe3f7a36
1 changed files with 1 additions and 1 deletions

View File

@ -1648,7 +1648,7 @@ class orm(object):
if not context:
context={}
# compute the where, order by, limit and offset clauses
(qu1,qu2,tables) = self._where_calc(cr, user, args, context)
(qu1,qu2,tables) = self._where_calc(cr, user, args, context=context)
if len(qu1):
qu1 = ' where '+string.join(qu1,' and ')