diff options
| author | Raphael Collet <rco@openerp.com> | 2015-03-26 14:55:03 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2015-03-26 18:44:51 +0100 |
| commit | 58d6bb30ab9dd101285def6db20b9db5df300240 (patch) | |
| tree | 35c5cd8805711212226166386b56f4cd5c6e322f /addons/web/static/src/xml | |
| parent | 313acf87a23ebfd5b3e846b616906d4fe44a04bc (diff) | |
[FIX] ormcache: fix calls to `ormcache` with unexpected context parameter
The implementation of ormcache does not work on methods that take a context
parameter. Because of the decorator decorator, the arguments of the call are
passed positionally to the method ormcache.lookup, and positional arguments
are used in the cache key.
The fix consists in removing the context parameter from the faulty methods,
either directly, or by caching a private method called by the public method.
Diffstat (limited to 'addons/web/static/src/xml')
0 files changed, 0 insertions, 0 deletions
