projects
/
odoo
/
odoo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[MERGE] therp-nl/openobject-server/openobject-server_ormcache_key cache not working...
[odoo/odoo.git]
/
openerp
/
tools
/
cache.py
diff --git
a/openerp/tools/cache.py
b/openerp/tools/cache.py
index
2c5c4a4
..
6e18007
100644
(file)
--- a/
openerp/tools/cache.py
+++ b/
openerp/tools/cache.py
@@
-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