diff options
| author | Sébastien Theys <seb@odoo.com> | 2019-09-05 14:53:16 +0000 |
|---|---|---|
| committer | Sébastien Theys <seb@odoo.com> | 2019-09-05 14:53:16 +0000 |
| commit | c6bb103eac3cc645ce6053bf875b768a2b3bbd3a (patch) | |
| tree | 84dc0f5f1aec506d9e45bf51bb92b1b0f32a0165 /addons/note/data/note_data.xml | |
| parent | 3cadfebf0fe7a8b9d410ecc80ac935d1f05283e5 (diff) | |
[IMP] website: avoid computing multi_website_ qcontext if not useful
Those values are only used on the website navbar when the user is in both groups
so the vast majority of the time they are done for no reason.
This reduces the number of queries by 2 on every page when the user is not admin
and/or multi website is not enabled.
Part of task-2061122
closes odoo/odoo#36483
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/note/data/note_data.xml')
0 files changed, 0 insertions, 0 deletions
