summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function_view.xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2015-03-27 11:01:49 +0100
committerOlivier Dony <odo@openerp.com>2015-04-10 18:23:31 +0200
commit298ef06b98f85182b4fa7a736465bfa4dbf19979 (patch)
tree78e136e156664bb71feb614b6b92d3528237e12e /addons/analytic_user_function/analytic_user_function_view.xml
parentb03b7280b3a3c31b91f26d3a50894af95760b079 (diff)
[IMP] website: use env.ref to ensure main_menu is fetched w/ correct environment
By using get_object and not passing in the request's context, creates a divergent environment from the one used in the rest of the request, resulting to the cached menu items not being reused when displaying the menu in the page (during qweb rendering), saves ~4 requests on the index page (though probably nothing elsewhere)
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions