Files
odoo_source/addons/mrp/views/mrp_views_menus.xml
T
Fabien Pinckaers 10a5796d4b [IMP] speed up load_menus() by using SVG icons instead of png
Reduces load_menus answer size by 32% (between 20kb and 200kb savings
for the initial loading of the backend, depending on the number of apps
installed). Support for SVG icons in the web client for menus/apps.

Reduced PNG icons for apps list (8 bits PNG instead of 24 as our icons
don't need more colors as they are flat designs)

closes odoo/odoo#84280

Related: odoo/enterprise#24200
Signed-off-by: Fabien Pinckaers <fp@odoo.com>
2022-02-12 08:55:18 +00:00

32 lines
811 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<menuitem id="menu_mrp_root"
name="Manufacturing"
groups="group_mrp_user,group_mrp_manager"
web_icon="mrp,static/description/icon.svg"
sequence="145">
<menuitem id="menu_mrp_manufacturing"
name="Operations"
sequence="10"/>
<menuitem id="mrp_planning_menu_root"
name="Planning"
sequence="15"/>
<menuitem id="menu_mrp_bom"
name="Products"
sequence="20"/>
<menuitem id="menu_mrp_reporting"
name="Reporting"
sequence="25"/>
<menuitem id="menu_mrp_configuration"
name="Configuration"
groups="group_mrp_manager"
sequence="100"/>
</menuitem>
</odoo>