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

After login i want to see the home page with tile icons of the menu like below



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

Hi ,

To Create a menu item ,

  • Create a directory within your module named static

  • Create another directory named description inside the static directory.

  • Make sure that your icon image is in 'png' format and named as : icon.png

  • Place the icon.png file inside the static/description folder 


module_name/static/description/icon.png


In the XML where you define your main menu, add the web_icon attribute:

Then upgrade your module.


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


To create custom icon use this site ,

https://android-material-icon-generator.bitdroid.de/



Hope it Helps ,

Kiran K

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

Hello.

Please look this module: https://apps.odoo.com/apps/modules/14.0/xf_dashboard/ 

This dashboard module allow create your own custom landing page for internal users (employees). 

There is the widget with tiles that allows to add links with icons.

In additional there is the widget with most used apps (based on user activity).

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.ย. 21
10359
Direct user to single app on login แก้ไขแล้ว
1
ม.ค. 21
3165
0
ก.ค. 24
5738
0
มี.ค. 21
2778
how to make blog as homepage? แก้ไขแล้ว
1
มิ.ย. 24
1429