Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
01c5fed
[ADD] base_kanban_stage: Stage model and abstract logic
Dec 28, 2016
67f447d
[MIG] base_kanban_stage: Upgrade to v10
lasley Dec 30, 2016
a2456e3
IMP] base_kanban_stage: Updates per PR
Jan 3, 2017
2674ff1
Implement newer abstract test strategy
lasley Jan 15, 2017
c55f672
[FIX] base_kanban_stage: Add group_expand & fix method
lasley Jan 27, 2017
1cfab40
[FIX] base_kanban_stage: Fix test for new API
lasley Jan 27, 2017
5e869d4
OCA Transbot updated translations from Transifex
oca-transbot Feb 11, 2017
8dd90f6
Leave test mode after base kanban stage tests
florian-dacosta Mar 6, 2017
678e53a
OCA Transbot updated translations from Transifex
oca-transbot May 1, 2017
dc5741f
[FIX] base_kanban_stage: fix wrong field referenced in base_kanban_ab…
tafaRU Aug 24, 2017
c88fe05
[FIX] base_kanban_stage: following on https://github.com/OCA/server-t…
tafaRU Sep 6, 2017
ffb7565
[FIX] base_kanban_stage: ignore domain in _read_group_stage_ids overr…
tafaRU Sep 18, 2017
dff2189
OCA Transbot updated translations from Transifex
oca-transbot Dec 2, 2017
d16bb71
[FIX][IMP] base_kanban_stage: Default stage and tests
obulkin Dec 5, 2017
d94e63c
OCA Transbot updated translations from Transifex
oca-transbot Dec 30, 2017
8121223
[MIG] base_kanban_stage: Migration to 12.0
AaronHForgeFlow Sep 17, 2019
cb86a59
[FIX] Adapt tests to v12
MiquelRForgeFlow Sep 27, 2019
3bc22a7
[IMP] Restrict kanban stages only to supported models
MiquelRForgeFlow Sep 27, 2019
e6ffbc5
[UPD] Update base_kanban_stage.pot
oca-travis Oct 15, 2019
1d2c13f
Update translation files
oca-transbot Oct 16, 2019
c703669
[FIX] Avoid same-label warning in case project.project becomes kanban
MiquelRForgeFlow Oct 21, 2019
216ef4f
[UPD] Update base_kanban_stage.pot
oca-travis Oct 21, 2019
340a0bd
base_kanban_stage 12.0.1.2.2
OCA-git-bot Oct 21, 2019
cf71299
Update translation files
oca-transbot Oct 21, 2019
ac3ac32
[MIG] base_kanban_stage to version 13.0
mileo Mar 31, 2020
10dd009
[REF] pre-commit run on base_kanban_stage
mileo Mar 31, 2020
92bb953
[IMP] base_kanban_stage: black, isort, prettier
hkapatel-initos Jun 23, 2021
f9ec073
[MIG] base_kanban_stage: Migration to 14.0
hkapatel-initos Jun 24, 2021
5507b1e
[UPD] Update base_kanban_stage.pot
oca-travis Aug 20, 2021
0059f8d
Translated using Weblate (Italian)
francesco-ooops Mar 16, 2022
e5258e9
Translated using Weblate (Spanish (Argentina))
ibuioli Mar 27, 2022
22cfbe8
[MIG] base_kanban_stage: Migration to v15
AaronHForgeFlow Dec 2, 2022
16d9230
[UPD] Update base_kanban_stage.pot
Aug 29, 2023
9773392
[FIX] base_kanban_stage: update things
MiquelRForgeFlow Aug 29, 2023
751cc09
base_kanban_stage 15.0.1.0.1
OCA-git-bot Aug 29, 2023
4931e72
Update translation files
weblate Sep 3, 2023
45dee31
Update translation files
weblate Sep 3, 2023
326a177
Translated using Weblate (Italian)
francesco-ooops Sep 7, 2023
0b7686e
Translated using Weblate (Italian)
mymage Sep 13, 2023
1d02e6c
[FIX] base_kanban_stage: `image_128` -> `avatar_128`
MiquelRForgeFlow Oct 10, 2023
720f350
[BOT] post-merge updates
OCA-git-bot Oct 10, 2023
bbc53ff
Translated using Weblate (Spanish)
Ivorra78 Oct 11, 2023
18ec766
Translated using Weblate (Italian)
mymage Jan 27, 2025
c0ea067
[MIG] base_kanban_stage: Migration to v16
AaronHForgeFlow May 26, 2025
882dfbc
[IMP] base_kanban_stage: pre-commit auto fixes
JasminSForgeFlow Dec 12, 2025
5bf416a
[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
112 changes: 112 additions & 0 deletions base_kanban_stage/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
.. image:: https://img.shields.io/badge/license-LGPL--3-blue.png
:target: https://www.gnu.org/licenses/lgpl
:alt: 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:

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

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

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/162/13.0

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
<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 smash it by providing detailed and welcomed feedback.

Credits
=======

Images
------

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

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>

Maintainer
----------

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

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.
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