Skip to Content
Menu
This question has been flagged
2 Replies
3242 Views

For ex : In my form there is field called stage_id it is many 2one field i need to show to sepearte color in tree view based on stage id. draft---> blue , open-->green , completed --> gray

Avatar
Discard
Best Answer

Hi,

Here event_type is a many2one field and I checked like this;

<tree string="x"
create="false" edit="false" delete="false"
colors="grey:event_type = 'conference')">

Avatar
Discard
Best Answer

This free app does it: https://www.odoo.com/apps/modules/8.0/web_tree_dynamic_colored_field/

Avatar
Discard