Community mailing list archives
Re: Record in tree view with different colorsby
If you want to change background.forground color of a record (line in tree view), you can have a look at this module (v8): https://github.com/OCA/web/tree/8.0/web_tree_dynamic_colored_field.
Hi,As Martin said, coloring full line (e.g. text) is supported by default in odoo.
On Fri, Feb 19, 2016 at 3:39 PM, MOHAMED MAALEJ <email@example.com> wrote:
hello for allI 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 pleasethank in advance