From f17c417a7a48fff90909b080cb92bffa244939d1 Mon Sep 17 00:00:00 2001 From: ced <> Date: Thu, 26 Jul 2007 08:31:07 +0000 Subject: [PATCH] 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 --- bin/osv/orm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/osv/orm.py b/bin/osv/orm.py index e2300c0a865..bab09828d0a 100644 --- a/bin/osv/orm.py +++ b/bin/osv/orm.py @@ -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={}