Search code examples
pythonmoduleiconsodoo

How to set an icon of module in odoo13?


I have just uploaded a module in odoo marketplace. And it is showing me that. enter image description here

But there is an icon.png in my static folder and in manifest file there is an image field also, with my specific image.

So please guide me how to set an icon for my module.


Solution

  • You need to add web icon attribute in your menuitem.

    For Ex :-

    <menuitem name="menu_name" id="unique_id" web_icon="module_name,path_of_icon" sequence="1"/>