I need to change the color of cards in the kanban view according to a condition, which would be the status(field stage_id), I am doing this but it does not work for me,
that is in odoo15 and I want to do it in this view maintenance.hr_equipment_request_view_kanban, it changes the color for me, but the condition does not work for me, it puts them all the same color
expr="//div[contains(@t-attf-class, 'oe_kanban_card')]" position="attributes">
t-debug="pdb">
t-if="record.name.raw_value == 'Pendiente'">
name="t-attf-style">background-color: #0adbf4;
t-else="">
name="t-attf-style">background-color: #09c05f;