콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
15687 화면

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

아바타
취소
관련 게시물 답글 화면 활동
6
7월 24
52174
1
10월 24
8333
0
7월 24
2009
4
2월 24
7002
3
3월 24
3240