← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 664537] Re: [v6 RC1] icons in main menu disappear when translated

 

I see update for server this morning, but the code dont work, let me
tell you why


In web client side 

parents = menus.read(ids, ['name', 'action', 'web_icon_datas',
'web_icon_hover_datas'], ctx)

In server side

'web_icon_datas': fields.function(_get_image_icon, string='Web Icons', type='binary', method=True, readonly=True, store=True, multi='icon'),
'web_icon_hover_datas':fields.function(_get_image_icon, string='Web Icons Hover', type='binary', method=True, readonly=True, store=True,multi='icon'),

You see the problem ?? If no i tell you, look field name, one with 's'
other not.

So i changed all name in server side to add 's', and now all work fine


Note : maybe you can add in xml for each module the default icon ;)

-- 
[v6 RC1] icons in main menu disappear when translated
https://bugs.launchpad.net/bugs/664537
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: Confirmed

Bug description:
Hi,

I just downloaded the french translation into my database, and noticed that 2 images / icons of the main menu don't appear.

Why menu images are related to translations?


thnx





References