Odoo Help

1

Menu Icon in ODOO 8

By
sridhar
on 10/10/15, 5:53 AM 1,452 views

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

1
Axel Mendoza
On 10/18/15, 5:35 AM

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

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)

Stats

Asked: 10/10/15, 5:53 AM
Seen: 1452 times
Last updated: 10/18/15, 6:14 AM