kernel: fix context in search / where_calc
bzr revid: ced-f229f1e7b377fdc7eee72c308a66cd86be9b3766
This commit is contained in:
parent
93ee283306
commit
9afe3f7a36
|
@ -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 ')
|
||||
|
|
Loading…
Reference in New Issue