kernel: don't modify the args of the call
_where_calc can not modify the args given in the call, need to copy it first bzr revid: ced-754405cd95ea03504506c88132fe228f13216b11
This commit is contained in:
+1
-1
@@ -1645,7 +1645,7 @@ class orm(object):
|
||||
cr.execute('select count(%s.id) from ' % self._table + ','.join(tables) +qu1, qu2)
|
||||
res = cr.fetchall()
|
||||
return res[0][0]
|
||||
|
||||
|
||||
def search(self, cr, user, args, offset=0, limit=None, order=None, context=None):
|
||||
if not context:
|
||||
context={}
|
||||
|
||||
Reference in New Issue
Block a user