here my XML code, i have a problem when try to add a wigdet into kanban view of project.
my problem is element <xpath expr="//t[@t-name='kanban-box']//div[@class='o_primary']" position="after"> Cannot locate in parent view??
<record model="ir.ui.view" id="view_task_kanban_inherit">
<field name="name">project.task</field>
<field name="model">project.task</field>
<field name="inherit_id" ref="project.view_task_kanban"/>
<field name="arch" type="xml">
<xpath expr="//templates" position="before">
<field name="checklist_progress"/>
<field name="max_rate"/>
</xpath>
<xpath expr="//t[@t-name='kanban-box']//div[@class='o_primary']" position="after">
<li>
<field name="checklist_progress" widget="gauge" style="width:80px;height:50px;cursor:pointer;"
options="{'max_field': 'max_rate'}">
Entry Progress
</field>
</li>
</xpath>
</field>
</record>