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

i'm using odoo 11 and i have installed open HRMS core which install a specific theme. After that i have installed another module which named overtime (bt_hr_overtime_automatic) to satisfy my needs but the problem is in the menu of the apps the new module doesn't has a icon and i want to add one(Ps: the module has a picture named "icon.png" in the folder /static/description/). Any idea on how to do that ?

아바타
취소
베스트 답변

Hi Dhouha,

You can add the icon to any menu with the option "web_icon". For example:

<menuitem name="My Custom App"
              id="menu_custom_main"
              sequence="4"
              web_icon="your_module_name,static/src/img/icon.jpg"/>

In this example the icon (icon.jpg) is stored in the module named 'your_module_name' under the folder static/src/img.

Regards,
Yenthe

아바타
취소
작성자

Thank you very much for your answer

관련 게시물 답글 화면 활동
2
7월 24
2601
1
6월 24
5068
1
10월 23
10743
1
10월 23
98
1
8월 23
2193