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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access