[6.1] custom icons for button

Asked by kurt

Hello,

Is it possible to use custom icons in a button for specific module ?

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Server (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Serpent Consulting Services (serpent-consulting-services) said :
#1

Hello Kurt,

This is very much possible by following way:
1. Add you icon's name in __icons_list of server openerp/tools/misc.py
2. Place your icon on client's icon directory.
3. If that's GTK: Path is /bin/icons
4. If that's Web: Path is addons/web/static/src/img/icons.

This will surely help.

Thanks.

Can you help with this problem?

Provide an answer of your own, or ask kurt for more information if necessary.

To post a message you must log in.