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

I am using Odoo 13 enterprise edition and I have a custom module that I would like to add to the home screen/app switcher.


I tried adding a <menuitem> item in xml with an id, name, group, sequence, and web_icon but it is still not showing up.


Edit:

I found a spelling mistake in the name of my module in the menuitem but that did not fix my issue.


<menuitem
        id="menu_activities_main"
        name="Activities" 
        web_icon="activities, static/description/icon.png"
    />

Edit 2:

I am not sure what the original problem or the fix was but I did get it working. I decided to just skip past the icon temporarily so I could the other menu items and actions set up and then the icon appeared on the dashboard. 

อวตาร
ละทิ้ง

Hello everyone, I want to do the same but I don't know where I should add that line of code so that my app has an icon

คำตอบที่ดีที่สุด

Hi

    web_icon = "your_module, path/your_icon"

<menuitem
id="menu_test_main"
name="Test"
web_icon="odx_sale_customization, static/description/icon.png"

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

Very useful video to create stylist custom icon for your odoo.

https://youtu.be/PS5F_C1nL0k

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Creating an app icon (the easiest way) แก้ไขแล้ว
6
ก.ค. 24
51578
1
ต.ค. 24
7450
0
ก.ค. 24
1917
How to automate initial configuration? แก้ไขแล้ว
4
ก.พ. 24
6838
3
มี.ค. 24
3141