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



_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to