Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
6675 Lượt xem

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



Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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).

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 9 21
9414
1
thg 1 21
2747
0
thg 7 24
5075
0
thg 3 21
2263
1
thg 6 24
991