Odoo Help

Welcome!

This community 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.

1

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

By
FEDERICO LEONI
on 7/22/15, 6:12 PM 366 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?

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

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