Community mailing list archives

community@mail.odoo.com

Re: Record in tree view with different colors

by
zahid
- 02/19/2016 09:45:31
There are example of use in addons presentation.


Odoo Integrator,
Data integration
BI and IT consulting.

j.zahid@auriumtechnologies.com
tél  0661360233 - 0636898882
fax 0528215738

On Fri, Feb 19, 2016 at 2:39 PM, MOHAMED MAALEJ <maalej_info@yahoo.fr> wrote:
hello for all

I need to give differents colors for records in a tree view. the color is choose according a condition.
Exp : a tree view of product. those having quantity less than 10 will be in red and others in green.
in this case, when i use in the xml file  colors="red:qty<10" it ive error.

any help please

thank in advance

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe