İçereği Atla
Menü
Bu soru işaretlendi
4562 Görünümler

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
Vazgeç

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

İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Mar 15
3981
0
Mar 15
4626
1
Mar 19
13552
2
Mar 24
8252
2
Ağu 22
20439