Hello again,

well there is a render_cell function in web/static/src/js/view_list.js of the 
webclient, but honestly I’m not sure if this would be the right place to start 
for rendering an image?

I would be happy for suggestions!

thank you!

Von: Sven Petersen
Gesendet: Donnerstag, 28. Juni 2012 12:01
An: Sven Petersen; Niels Huylebroeck
Cc: [email protected]
Betreff: AW: [Openerp-community] Solution/Example for displaying icons in a 
Tree View (OpenERP 6.1)?

Hello,

the Web Client seems to ignore widget="image" in Tree Views, so that doesn’t 
work.
Any other Ideas? (except waiting for v7 and playing around with jquery? ☺)

thanks!

Von: 
[email protected]<mailto:[email protected]>
 
[mailto:[email protected]]<mailto:[mailto:[email protected]]>
 Im Auftrag von Sven Petersen
Gesendet: Mittwoch, 27. Juni 2012 14:21
An: Niels Huylebroeck
Cc: 
[email protected]<mailto:[email protected]>
Betreff: Re: [Openerp-community] Solution/Example for displaying icons in a 
Tree View (OpenERP 6.1)?

I’ll try that. Thank you!

Von: Niels Huylebroeck [mailto:[email protected]]<mailto:[mailto:[email protected]]>
Gesendet: Mittwoch, 27. Juni 2012 14:17
An: Sven Petersen
Cc: Eric Caudal; 
[email protected]<mailto:[email protected]>
Betreff: Re: [Openerp-community] Solution/Example for displaying icons in a 
Tree View (OpenERP 6.1)?


2012/6/27 Sven Petersen <[email protected]<mailto:[email protected]>>
Thank you for your answer, but I’m in need of displaying custom icons according 
to a field value of a record line.
So far icons can only be set for buttons, or am I wrong?

Not sure if this will work but what about showing a fields.binary with 
widget="image" on your tree form ?
It would require you to "store" the images inside the database though (only 
once if you use a functional field to fetch values on the fly)

--
Niels Huylebroeck
Lead Architect   --   Agaplan
Tel. : +32 (0) 93 95 98 90
Web : http://www.agaplan.eu

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

Reply via email to