← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 660497] Re: [trunk] root screen after login does not show application images for translated menu names

 

*** This bug is a duplicate of bug 664537 ***
    https://bugs.launchpad.net/bugs/664537

This bug is linked with my question

https://answers.launchpad.net/openobject-addons/+question/132105

image of root menu define in the screen.css, and uses button text to
select image.  So if you translate text, can't find the image in the
css, same problem if you create a new menu in root.

The only way i found at the moment is the create a new section in the
screen.css

For your problem

you can duplicate entry in screen.css, i know is not a good way, but...
i dont know other way..

sample

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

+ ul.sections-a li.marketing span.wrap a {
+    background-image: url(../images/sections-a-i-money.png);
+ }

this way, web-client will show same picture for marketing and sales
button.

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

*** I hope someone know a better way....

** This bug has been marked a duplicate of bug 664537
   [v6 RC1] icons in main menu disappear when translated
 * You can subscribe to bug 664537 by following this link: https://bugs.launchpad.net/openobject-client-web/+bug/664537/+subscribe

-- 
[trunk] root screen after login does not show application images for translated menu names
https://bugs.launchpad.net/bugs/660497
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Web Client: New

Bug description:
[trunk] The root screen shows the top menu items divided in sections, each with an own image and title: the new look of the webclient for V6;  very nice indeed, however a small oversight here.

The image names are based on the ir.menu.ui menu names but after changing the language the system tries to find the translated name 'verkoop' image instead of the 'sales' image.





References