[MERGE] therp-nl/openobject-server/openobject-server_ormcache_key cache not working correctly with skiparg

bzr revid: al@openerp.com-20121017162555-tkydd6uq6fpm3a5i
This commit is contained in:
Antony Lesuisse 2012-10-17 18:25:55 +02:00
parent ed08f59e1f
commit ce552adba0
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class ormcache(object):
return r
except KeyError:
self.stat_miss += 1
value = d[args] = self.method(self2, cr, *args)
value = d[key] = self.method(self2, cr, *args)
return value
except TypeError:
self.stat_err += 1