How define a icon for new menuitem in root menu

Asked by Serge

i can't find a way to add a icon for my new menu.

after many search in code i find a way ...

In client-web/addons/openerp/css/screen.css

add a new section

ul.sections-a li.module_name span.wrap a {
    background-image: url(../images/sections-a-i-person.png);

But is not a good way to do that because we need to change client=web css.

So anyone know a way to do it in our module, without need to change directly in client-web css

Revision history for this message
Xavier (Open ERP) (xmo-deactivatedaccount) said :
#1

> So anyone know a way to do it in our module, without need to change directly in client-web css

There is not one yet, we're planning on fixing this implementation limitation (which will fix the translations issue as well) but it's yet to be done.

Revision history for this message
Serge (sboivin) said :
#2

ok thank

Can you help with this problem?

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

To post a message you must log in.