summaryrefslogtreecommitdiff
path: root/addons/project/project_data.xml
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2012-12-17 22:47:00 +0100
committerOlivier Dony <odo@openerp.com>2012-12-17 22:47:00 +0100
commit9bc690bf171358eb0828e6d8083d35adffb3ab0f (patch)
treea5aec5b52b0a7e842f1b24574347152cd404eafb /addons/project/project_data.xml
parent9f77d2e2f4b580e2fb07bc044c875dfd30008f44 (diff)
[IMP] res.users: enable cache on context_get, used by the _() translation function
When _() fails to find a context lang it looks up the user language by calling context_get(). During module installation this may happen thousands of times, and drastically slow down the installation. Caching context_get calls is an effective way to work around this, until we find a better solution. bzr revid: odo@openerp.com-20121217214700-6r7ju8iiaeowgj8i
Diffstat (limited to 'addons/project/project_data.xml')
0 files changed, 0 insertions, 0 deletions