diff options
| author | Xavier Morel <xmo@odoo.com> | 2015-03-30 11:00:21 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2015-04-10 18:23:32 +0200 |
| commit | 8c655738858157d6d4fcc1a44b8fd4dac63552cf (patch) | |
| tree | c6b5365c108399d81188cc12dee2f738023fed10 /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | 7fecbc91eb74f277b2ea5885217dc48811f527ee (diff) | |
[IMP] res.lang: ormcache the lookup of a lang based on a lang code
_lang_data_get returns only numerical data, the website tends to need
date formatting stuff instead with one lang lookup for each date or
datetime formatting (via t-field).
Caching the id matching a lang code means one less query for each
date/datetime formatting on the website, that's 10 queries saved for the
default forum front page.
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions
