Помощь

2

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

Avatar
Anil R. Kesariya (Jupical)

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.

Аватар
Отменить
1 Ответ
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 Комментарий
Аватар
Отменить
Avatar
Anil R. Kesariya (Jupical)
-

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