Hello,
I am trying to display the database ID of each record on the Kanban view for projects. To start, I just want to test modifying the Kanban view by adding a simple visual element.
Here is the XML I am using:
<odoo> <template id="project_task_kanban_inherit" inherit_id="project.view_task_kanban"> <xpath expr="//div[contains(@class,'o_kanban_record')]" position="inside"> <div style="width: 100%; height: 50px; background-color: black;"></div> </xpath> </template> </odoo>
This should display a black box on every record in the Kanban view. However, nothing is being displayed.
Could anyone please point out what I might be doing wrong?
Thank you in advance for your help!
UPDATE: See my answer in the comments for a solution