Kanban View in
Odoo 17
Enterprise
Introduction
Enterprise
Kanban view provide a visual representation of our data,
making it easier to manage and track information. They present
data in the form of cards, allowing for a more intuitive and user-
friendly experience.
Enterprise
Let us define a model in odoo
Enterprise
After defining the model, we can create the action and
kanban view for the model
Enterprise
In the XML, Add the Kanban view
<record id="student_detail_view_kanban"
model="ir.ui.view">
<field name="name">student.detail.view.kanban</field>
<field name="model">student.detail</field>
<field name="arch" type="xml">
<kanban class="o_kanban_mobile" sample="1">
<field name="partner_id"/>
<field name="standard"/>
<field name="state"/>
<templates>
<t t-name="kanban-box">
Enterprise
<div t-attf-class="oe_kanban_global_click">
<div class="row">
<div class="col-8">
<field name="partner_id" string="Contact"/>
</div>
<div class="col-4">
<div class="oe_kanban_bottom_right float-
end">
<field name="partner_id"
widget="many2one_avatar_user"/>
</div>
</div>
</div>
Enterprise
<t t-if="record.standard.value">
<hr class="mt8 mb8"/>
<field name="standard"/>
</t>
<div>
<field name="state"/>
</div>
</div>
</t>
</templates>
</kanban>
</field>
</record>
Enterprise
This is the created Kanban view in odoo 17 and we can
customize it according to our requirements
For More Info.
Check our company website for related
blogs and Odoo book.
Check our YouTube channel for
functional and technical videos in Odoo.
Enterprise
www.cybrosys.com

Views in Odoo 17 - Kanban View in odoo 17