Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
27899 มุมมอง

How to change the menu icons

as shown in the url:

https://imgur.com/3HGz2TF

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

For the menu the icon which has to displayed is specified like this,

<menuitem name="My App" id="my_menu" web_icon="module_name,static/description/icon.png"/>


To change the existing menu icons, either you can do it from the Front end or from the code. If you are doing from the code, inherit the menu and update the web_icon with the new icon.

<menuitem id="module_name.menu_root" web_icon="module_name,static/description/icon.png"/>


From the front end, activate the developer mode and navigate to Settings -> Technical -> User Interface -> Menu Items, search the menu and open it. There you can see a field named Web Icon Image where you can add the new icon.

Thanks

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

May be this will helpful

 
 

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ค. 22
4136
3
ก.พ. 21
26679
1
พ.ย. 18
13818
How to change Menu Sequence (Odoo 11) แก้ไขแล้ว
3
เม.ย. 25
9921
2
ก.ค. 24
1526