Technical mailing list archives

technical@mail.odoo.com

Avatar

Re: font-awesome widget in backend

by
Xavier Brochard
- 12/21/17 12:48:29
You mean manually ?
what if I try to get it populated dynamicallly ?

Le jeudi 14 décembre 2017, 08:30:09 CET Daniel Reis a écrit :
> Afaics you can achieve that you a regular selection list, of even better, a
> many-to-one list. Just prepopulate the list with the default Picts to be
> made available.
> 
> 
> --dr
> 
> No dia 14/12/2017, às 07:45, Alexandre MOREAU < alexandre.moreau@doscaal.fr
> [1] > escreveu:
> 
> 
> 
> Awesome pict in backend  are buttons with a label get from  a compute field
> when it s a dynamic value.
> 
> If you want to create  a new one in a view, you just have to create your
> button with the correct font-awesome value in the icon attributes.
> 
> Le 13 déc. 2017 21:40, "Xavier Brochard" < zeroheure@gmail.com [2] > a
> écrit : Hi
> I would like to add selectable Font-Awesome pictograms in the backend form
> view . How can I do that ? Should I create my own widget, is there already
> one?
> And, just in case : is this a bad idea ?
> Regards
> Xavier
> ______________________________ _________________

Reference