Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4564 Zobrazení

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
Zrušit

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

Related Posts Odpovědi Zobrazení Aktivita
1
bře 15
3982
0
bře 15
4626
1
bře 19
13553
2
bře 24
8252
2
srp 22
20442