This question has been flagged
1 Reply
3816 Views

Is this possible to set icon for every menus? In ODOO 8.

Avatar
Discard
Best Answer

Yes it could be done, this are the needed steps:

1- Inherit from ir.ui.menu to change the method load_menus to add the data for the field function field web_icon_data and add to the result dict of the method

2- Inherit the templates: 'web.menu_secondary_submenu' and 'web.menu_link' to add the menu icon elements using the icon data from the step 1

3- Add the necessary web_icon fields to all the menu that you need

Avatar
Discard