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

I would like to use my custom icons on some server action buttons since I would like something different from the icons declared in openerp/tools/misc.py, file whom I prefer to leave untouched.

I've created a folder on my module (static/src/img/icons) with a 16x16 and 64x64 png but the module doesn't look here, it continue to pick icons on addons/web/static/src/img/icons and if I put icons in this folder all works just fine but since those icons are part of a custom module it doesn't make any sense add icons manually on another folder. 

The question is: where should I declare the new path for icons in my module and how?

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
5
jouluk. 19
7812
1
kesäk. 15
6221
0
kesäk. 15
120
1
maalisk. 15
3871
3
heinäk. 15
6102