Kanban views

We will now add a Kanban view to our to-do model. Each to-do task will be a card, and the Kanban board will be organized into Stage columns. We already have a stage_id field to use for this, added in previous chapters.

Previously, in form views, we mostly used Odoo specific XML elements, such as <field> and <group>. HTML elements, such as <h1> or <div>, were also used, but less frequently. With Kanban views, it's quite the opposite: the presentation templates are HTML-based and support only two Odoo-specific elements, <field> and <button>.

The final HTML to be presented in the web client is dynamically generated from QWeb templates. The QWeb engine processes special XML tags and attributes to produce them. This brings a lot of ...

Get Odoo 11 Development Essentials - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.