Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
5 Vastaukset
33926 Näkymät

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

Avatar
Hylkää
Paras vastaus

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

Avatar
Hylkää

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

Paras vastaus

For me it has worked with :

my_module/static/description/icon.png
Avatar
Hylkää
Paras vastaus

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.  




Avatar
Hylkää
Paras vastaus

I found 150x150 worked on Odoo V8.

Avatar
Hylkää
Paras vastaus

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

https://youtu.be/PS5F_C1nL0k

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
heinäk. 24
1946
1
tammik. 24
5082
2
maalisk. 23
2732
3
kesäk. 20
10541
2
maalisk. 20
8970