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

How can i make an image as the icon of my custom module

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

Save the image (64x64) at your_module/static/src/img/icon.png

Ảnh đại diện
Huỷ bỏ

You can also use image with size of 128x128. It is not compulsory to use 64x64 only.

Câu trả lời hay nhất

For me it has worked with :

my_module/static/description/icon.png
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

for creating an icon to the custom module you have to override your default icon that exists in the base module.

base/static/description/icon.png.    

write your icon in the description folder.


your project name /static/description/icon.png.    


I think this will help you to change the icon.  




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

I found 150x150 worked on Odoo V8.

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

Very useful video to create stylist custom icon for your odoo.

https://youtu.be/PS5F_C1nL0k

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 24
1845
1
thg 1 24
4964
2
thg 3 23
2692
3
thg 6 20
10493
2
thg 3 20
8916