Hello,
Recruitment application has kanban "Hr Applicants kanban".
How can you prevent kanban items from being draggable?
I tried to do this:
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="hr_applicant_view_kanban_inherit_for_not_draggable" model="ir.ui.view">
<field name="name">hr.applicant.view.kanban.inherited</field>
<field name="model">hr.applicant</field>
<field name="inherit_id" ref="hr_recruitment.hr_kanban_view_applicant"/>
<field name="arch" type="xml">
<kanban position="attributes">
<attribute name="draggable">false</attribute>
</kanban>
</field>
</record>
</data>
</odoo>
Or this:
<attribute name="draggable">0</attribute>
or
<attribute name="edit">false</attribute>
But not one of them didn’t work. Maybe it needs to be done somehow using XPath?
Do you have any ideas?