Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
e96b020
[ADD] base_kanban_stage: Stage model and abstract logic
Dec 28, 2016
d36d8ea
[MIG] base_kanban_stage: Upgrade to v10
lasley Dec 30, 2016
9b57575
IMP] base_kanban_stage: Updates per PR
Jan 3, 2017
47bd590
Implement newer abstract test strategy
lasley Jan 15, 2017
269cf00
[FIX] base_kanban_stage: Add group_expand & fix method
lasley Jan 27, 2017
ae80d79
[FIX] base_kanban_stage: Fix test for new API
lasley Jan 27, 2017
87daf77
Leave test mode after base kanban stage tests
florian-dacosta Mar 6, 2017
feea014
[FIX] base_kanban_stage: fix wrong field referenced in base_kanban_ab…
tafaRU Aug 24, 2017
fc0ee92
[FIX] base_kanban_stage: following on https://github.com/OCA/server-t…
tafaRU Sep 6, 2017
f901d6c
[FIX] base_kanban_stage: ignore domain in _read_group_stage_ids overr…
tafaRU Sep 18, 2017
a1bfe03
[FIX][IMP] base_kanban_stage: Default stage and tests
obulkin Dec 5, 2017
9feb32f
[MIG] base_kanban_stage: Migration to 12.0
AaronHForgeFlow Sep 17, 2019
7f92894
[FIX] Adapt tests to v12
MiquelRForgeFlow Sep 27, 2019
9890e37
[IMP] Restrict kanban stages only to supported models
MiquelRForgeFlow Sep 27, 2019
1a6cb87
[FIX] Avoid same-label warning in case project.project becomes kanban
MiquelRForgeFlow Oct 21, 2019
a359a82
[MIG] base_kanban_stage to version 13.0
mileo Mar 31, 2020
c80561d
[REF] pre-commit run on base_kanban_stage
mileo Mar 31, 2020
44a29b0
[IMP] base_kanban_stage: black, isort, prettier
hkapatel-initos Jun 23, 2021
c9c79af
[MIG] base_kanban_stage: Migration to 14.0
hkapatel-initos Jun 24, 2021
a2a0a9d
Translated using Weblate (Italian)
francesco-ooops Mar 16, 2022
55c268b
Translated using Weblate (Spanish (Argentina))
ibuioli Mar 27, 2022
f235dc0
[MIG] base_kanban_stage: Migration to v15
AaronHForgeFlow Dec 2, 2022
5f19cbc
[FIX] base_kanban_stage: update things
MiquelRForgeFlow Aug 29, 2023
b6cf1cf
Translated using Weblate (Italian)
francesco-ooops Sep 7, 2023
921ba7e
Translated using Weblate (Italian)
mymage Sep 13, 2023
eddb8d1
[FIX] base_kanban_stage: `image_128` -> `avatar_128`
MiquelRForgeFlow Oct 10, 2023
de428f9
Translated using Weblate (Spanish)
Ivorra78 Oct 11, 2023
64b7e7e
[MIG] base_kanban_stage: Migration to v16
AaronHForgeFlow May 26, 2025
3fd4694
[IMP] base_kanban_stage: pre-commit auto fixes
JasminSForgeFlow Dec 12, 2025
797f729
[MIG] base_kanban_stage: Migration to 19.0
JasminSForgeFlow Dec 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
146 changes: 146 additions & 0 deletions base_kanban_stage/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

======================
Kanban - Stage Support
======================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:fba70c1c1eddf1cb2e5833d422c79bcde16a5e7bd4273f3528fdf3dc7536e5cf
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github
:target: https://github.com/OCA/server-tools/tree/19.0/base_kanban_stage
:alt: OCA/server-tools
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/server-tools-19-0/server-tools-19-0-base_kanban_stage
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/server-tools&target_branch=19.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

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.

**Table of contents**

.. contents::
:local:

Configuration
=============

No configuration is needed or possible.

Usage
=====

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

.. code:: python

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``:

.. code:: xml

<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="//main[@name='card_body']">
<!-- Add body content here -->
</xpath>
</field>
</record>

- To manage stages, go to Settings > Technical > Kanban > Stages.

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 Issues <https://github.com/OCA/server-tools/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/server-tools/issues/new?body=module:%20base_kanban_stage%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* LasLabs

Contributors
------------

- Dave Lasley <dave@laslabs.com>
- Oleg Bulkin <obulkin@laslabs.com>
- Daniel Reis <dreis.pt@hotmail.com>
- Alex Comba <alex.comba@agilebg.com>
- Miquel Raïch <miquel.raich@forgeflow.com>
- Helly kapatel <helly.kapatel@initos.com>
- Jasmin Solanki <jasmin.solanki@forgeflow.com>

Other credits
-------------

- Icon: `Odoo Community
Association <https://odoo-community.org/logo.png>`__.

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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.

This module is part of the `OCA/server-tools <https://github.com/OCA/server-tools/tree/19.0/base_kanban_stage>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions base_kanban_stage/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright 2016 LasLabs Inc.
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).

from . import models
21 changes: 21 additions & 0 deletions base_kanban_stage/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright 2016-2017 LasLabs Inc.
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).

{
"name": "Kanban - Stage Support",
"summary": "Provides stage model and abstract logic for inheritance",
"version": "19.0.1.0.0",
"author": "LasLabs, Odoo Community Association (OCA)",
"category": "base",
"depends": ["base"],
"website": "https://github.com/OCA/server-tools",
"license": "LGPL-3",
"data": [
"security/ir.model.access.csv",
"views/base_kanban_abstract.xml",
"views/base_kanban_stage.xml",
"views/ir_model_views.xml",
],
"installable": True,
"application": False,
}
Loading
Loading