Skip to Content
मेन्यू
This question has been flagged

Hi, could someone tell me in what way I can display the items in a view kanban with a specific color according to the state that is the record.

I'm trying something like this

<div t-attf-class="#{record.state=='scheduled' ? oe_kanban_color_#{kanban_getcolor(1)} : oe_kanban_color_#{kanban_getcolor(0)}">

but I looked ALL elements and not only those who are in the "scheduled".

Thanks :)

Avatar
Discard

Hy, I'm trying to do almost the same thing. What object are you focused on?

Related Posts Replies Views Activity
1
मार्च 15
3982
0
मार्च 15
4632
1
मार्च 19
13558
2
मार्च 24
8260
2
अग॰ 22
20451