summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2013-10-24 15:29:56 +0200
committerXavier Morel <xmo@openerp.com>2013-10-24 15:29:56 +0200
commita622a5ad551f8eebc39067ba9c5f98145d6f0fdc (patch)
tree4598ba48ee3e82e5465da96063004f432f97eeb3 /addons/analytic_user_function
parentb8f73eb5329e314beba1ea2c598b14db6d9140d0 (diff)
[FIX] remove handling of parameters in ormcache clearing
It's completely broken in case of optional parameters e.g. (ir.translation)._get_source, as a call with the optional parameter won't be matched by a clear without, and the other way around. This becomes even more problematic in the website branch as _get_source now has *two* optional parameters (source and res_id). After discussion with odo and discovery that in multiprocess only the current node will use any granularity (other nodes not only clear all of the current method cache, but all caches of all models), simplify cache clearing, ignore parameters and just blow the current method's cache entirely. bzr revid: xmo@openerp.com-20131024132956-4tl3prum8za47igy
Diffstat (limited to 'addons/analytic_user_function')
0 files changed, 0 insertions, 0 deletions