Tuesday, August 20, 2019

module icon in odoo

ODOO

 

to add icon to our module we can add the icon path to the main menu of our module by using web_icon attribute as bellow 

in odoo 9 :
<menuitem id="main_menu_id" 
            name="Menu String"
            web_icon="module_name,static/description/icon_name.png"
/>

in odoo 11 : 
<menuitem id="main_menu_id"
            name="Menu String"
            web_icon="module_name,static/description/icon.png"
/>
//here the name of your image must be icon

No comments:

Post a Comment

Odoo Invoice Qr code issues

There are two main issues must of us facing with the QR code in Odoo invoice & these issues are 1/ QR code displayed as broken image w...