تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
6926 أدوات العرض

Hi, I tried to display my custom module app on this home page but doesn't work.

How can I put my icon beside these displayed installed apps?



الصورة الرمزية
إهمال
أفضل إجابة

Hello Dear,

You can set menu like this: 

menuitem id="menu_id" name="Menu_name"  web_icon="module_name,static/description/icon.png"/>

If your syntax is perfect you can check these points also.

--> Make sure odoo has proper access to your icon file: static/description/icon.png (In case if odoo user do not have proper access to file it will not work)

-->If menu is not visible it self it is possible that you do not have given access right to your custom module. (Add access in ir.model.access.csv)

--> If new in development make sure you updated module. (To be sure uninstall and install module again : Don't do it in production) 

الصورة الرمزية
إهمال
الكاتب
أفضل إجابة

You are using the right syntax for web_icon kindly cross check your path

الصورة الرمزية
إهمال
الكاتب

I can see my module and its icon in "Apps". But what I mean is how to display your custom app from the featured apps that is displayed in the home screen before clicking the "Apps" app.
this is what I did for my menu:

<!-- Menu -->
<menuitem
id="custom_menu_root"
name="My Forms"
web_icon="custom_module,static/description/icon.png"/>

<menuitem id="submenu_custom_menu"
name="Forms"
parent="custom_menu_root"
action="action_my_forms"/>

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مارس 15
3932
1
نوفمبر 24
1701
1
سبتمبر 21
9489
1
يناير 24
17078
0
مارس 15
3345