Odoo Help


Kanban: Show background color according to state - OpenERP7

on 11/4/13, 3:53 PM 1,539 views

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 :)

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

Mind & Go, Mind And Go
on 5/2/14, 12:34 PM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 11/4/13, 3:53 PM
Seen: 1539 times
Last updated: 3/16/15, 8:10 AM