Community mailing list archives

community@mail.odoo.com

Record in tree view with different colors

by
maalej mohamed
- 02/19/2016 09:00:01
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