Skip to main content
License: LGPL-3

Kanban - Stage Support

This module provides a stage model compatible with Kanban views and the standard views needed to manage these stages. It also provides the base.kanban.abstract model, which can be inherited to add support for Kanban views with stages to any other model. Lastly, it includes a base Kanban view that can be extended as needed.

Installation

To install this module, simply follow the standard install process.

Configuration

No configuration is needed or possible.

Usage

  • Inherit from base.kanban.abstract to add Kanban stage functionality to the child model:

    class MyModel(models.Model):
        _name = 'my.model'
        _inherit = 'base.kanban.abstract'
  • Extend the provided base Kanban view (base_kanban_abstract_view_kanban) as needed by the child model while making sure to set the mode to primary so that inheritance works properly. The base view has four name attributes intended to provide convenient XPath access to different parts of the Kanban card. They are card_dropdown_menu, card_header, card_body, and card_footer:

    <record id="my_model_view_kanban" model="ir.ui.view">
        <field name="name">My Model - Kanban View</field>
        <field name="model">my.model</field>
        <field name="mode">primary</field>
        <field name="inherit_id" ref="base_kanban_stage.base_kanban_abstract_view_kanban"/>
        <field name="arch" type="xml">
            <xpath expr="//div[@name='card_header']">
                <!-- Add header content here -->
            </xpath>
            <xpath expr="//div[@name='card_body']">
                <!-- Add body content here -->
            </xpath>
        </field>
    </record>
  • To manage stages, go to Settings > Technical > Kanban > Stages.

Try me on Runbot

Known Issues / Roadmap

  • The grouping logic used by base.kanban.abstract currently does not support additional domains and alternate sort orders

Bug Tracker

Bugs are tracked on GitHub Issue. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smash it by providing detailed and welcomed feedback.

Credits

Images

  • Odoo Community Association: Icon.

Contributors

Maintainer

Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit http://odoo-community.org.

Release files for odoo14-addon-base-kanban-stage 14.0.1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo14-addon-base-kanban-stage 14.0.1.0.2
File Interpreter ABI Platform
odoo14_addon_base_kanban_stage-14.0.1.0.2-py3-none-any.whl Python 3 none any Details

Release files / odoo14_addon_base_kanban_stage-14.0.1.0.2-py3-none-any.whl

Download URL odoo14_addon_base_kanban_stage-14.0.1.0.2-py3-none-any.whl
Size 181.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1c2aa8aa35d91f65d6c535d1fc9466886f1622b5533425545c14175bdb4793d1
BLAKE2b-256 checksum
How to use checksums
14f5a29627327e0687c189a0c5ed471d90664df1ca63287871e527717eae5637
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page