Since [1], an error was raise because the xpath to add an if attribute : "//div/t/t[2]/KanbanRecord" wasn't precise anymore and was applied to the wrong KanbanRecord, removing the correct attribute. Now a more precise xpath is used. [1]: https://github.com/odoo/odoo/commit/fa20b8de642fc57e5c6a49ca77c28d4aab150df9 X-original-commit: bc4776d8f532f2c5882bdac1c72ac95c5ade6be9 Part-of: odoo/odoo#112369