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

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

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

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

อวตาร
ละทิ้ง

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

คำตอบที่ดีที่สุด

For me it has worked with :

my_module/static/description/icon.png
อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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.  




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

I found 150x150 worked on Odoo V8.

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

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

https://youtu.be/PS5F_C1nL0k

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ค. 24
1977
1
ม.ค. 24
5197
2
มี.ค. 23
2780
3
มิ.ย. 20
10588
2
มี.ค. 20
9052