Hello everyone,
I have a simple kanban view on Odoo 12 and I need to change the color of a specific field shown on kanban based on another field value on the same model.
In fact, I don't even know how to change kanban colors for both fields and background.
On my model I have:
odometer = fields.Integer('Odometer Control')
limit_reached= fields.Boolean('Limit reached')
Both fields are shown on kanban view on the xml for the model and I need to change the "odometer" field color to red, if the "limit_reached" value is true.
Alternatively, I can also change the full background color if "limit_reached" is true.
How can I achieve that on Odoo 12?
Thank you in advance
Regards