← Back to team overview

openerp-community team mailing list archive

Re: Solution/Example for displaying icons in a Tree View (OpenERP 6.1)?

 

On Wed, Jun 27, 2012 at 7:16 AM, Niels Huylebroeck <nh@xxxxxxxxxx> wrote:

>
>
> 2012/6/27 Sven Petersen <s.petersen@xxxxxxxxxx>
>
>> 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)
>


So this give me another question: if OpenERP support serve static files,
they must be accesible via xml, in images key from __openerp__.py ?

Regards,

>
>
> --
> 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     : openerp-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-community
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Cristian Salamea
@ovnicraft

References