Help

2

[odoo11] : How to change column color based on condition in tree view?

Hello,

Is there any solution available for the changing column color based on condition.

Like : 

https://apps.odoo.com/apps/modules/10.0/web_tree_dynamic_colored_field/


Seems, List Include, extend works differently in v11. does anyone have an idea? how could it be implemented in v11?

What does replace the following code in v11? 

ListView.List.include({
//code here
});

Thanks in advance

Rgds,

Anil.

Avatar
Discard
1 Antwoord
0
Avatar
Palkesh Baraiya
Best Answer

Hi, 

You can simply Add Your Condition in Your XML like this ::

https://www.odoo.com/forum/help-1/question/how-to-change-color-of-line-in-tree-view-55291


1 Comment
Avatar
Discard

Yes I know for line, it already in base module, I want to change color of specific column in tree view.