Odoo Help

1

[V8][server actions] Is possible to add CUSTOM icon directly on a module?

By
FEDERICO LEONI
on 7/22/15, 6:12 PM 502 views

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?

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)

Stats

Asked: 7/22/15, 6:12 PM
Seen: 502 times
Last updated: 7/23/15, 1:58 AM