简体   繁体   中英

How to set an icon of module in odoo13?

I have just uploaded a module in odoo marketplace. And it is showing me that. 在此处输入图像描述

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.

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"/>

Default location of Odoo module icon in the app index is:

static/description/icon.png

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM