Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sehrishnaz/d2b96ef1df90f2508d7532764329063b to your computer and use it in GitHub Desktop.
Save sehrishnaz/d2b96ef1df90f2508d7532764329063b to your computer and use it in GitHub Desktop.
Remove Fold, Edit Stage, Delete, Archive All and Add New Column From Task Kanban View
<record id="inherit_view_task_kanban" model="ir.ui.view">
<field name="name">inherit.project.task.kanban</field>
<field name="model">project.task</field>
<field name="inherit_id" ref="project.view_task_kanban" />
<field name="arch" type="xml">
<xpath expr="//kanban" position="attributes">
<attribute name="group_create">0</attribute>
<attribute name="group_delete">0</attribute>
<attribute name="group_edit">0</attribute>
<attribute name="archivable">0</attribute>
<attribute name="quick_create">0</attribute>
</xpath>
<xpath expr="//kanban/templates/t/div/div" position="before">
<field name="your_field_goes_here"/>
</xpath>
</field>
</record>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment