summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2015-03-26 14:38:32 +0100
committerRaphael Collet <rco@openerp.com>2015-03-26 16:42:10 +0100
commit0beb14f0d23c9cfecb4aeb329869716bee8f8c8a (patch)
treec3cec6c706386663e78fabb87eb55e05a6c6a959 /addons/analytic_user_function
parent3eda25119fa2de39a07f073269a42f317dc0d61b (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/analytic_user_function')
0 files changed, 0 insertions, 0 deletions