diff options
| author | Raphael Collet <rco@openerp.com> | 2015-03-25 17:21:47 +0100 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2015-05-19 09:59:42 +0200 |
| commit | ede43047901707014a274ea2a4c6030100ad6b1d (patch) | |
| tree | 0eae5a7d0163ec4dc1ea1c8b9c29745d54fb3388 /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | 8d4fb747d428ead2b8d3e557eda40a5db7d16f0b (diff) | |
[IMP] adapt all calls to ormcache() to its new API
This fixes a bug on some methods. Because `ormcache` uses the decorator
`decorator`, the `context` argument is passed positionally to the decorated
lookup method, instead of being passed as a keyword argument. As a
consequence, the context dictionary is included in the cache key, which makes
the cache lookup fail all the time.
Using the new API of `ormcache` gracefully fixes this issue.
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions
