We will improve the todo_stage module we have been working with to add the Kanban view to the to-do tasks.
For this, we will use a new data file, views/todo_kanban_view.xml. We need to edit the data key in the descriptor file, __manifest__.py, to append this new data file at the end of the list.
Next, we can create the actual XML file where our shiny new Kanban view will go, at todo_stage/views/todo_kanban_view.xml:
<?xml version="1.0"?> <odoo> <!-- Add Kanban view mode to the menu Action: --> <record id="todo_app.action_todo_task" model="ir.actions.act_window"> <field name="view_mode" >kanban,tree,form,calendar,graph,pivot </field> </field> <!-- Add Kanban view --> <record id="todo_task_kanban" model="ir.ui.view"> ...