odoo14-addon-base-kanban-stage


Nameodoo14-addon-base-kanban-stage JSON
Version 14.0.1.0.2 PyPI version JSON
download
home_pagehttps://github.com/OCA/server-tools
SummaryProvides stage model and abstract logic for inheritance
upload_time2023-10-29 11:45:15
maintainer
docs_urlNone
authorLasLabs, Odoo Community Association (OCA)
requires_python>=3.6
licenseLGPL-3
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. 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@eficent.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.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/OCA/server-tools",
    "name": "odoo14-addon-base-kanban-stage",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "",
    "author": "LasLabs, Odoo Community Association (OCA)",
    "author_email": "support@odoo-community.org",
    "download_url": "",
    "platform": null,
    "description": ".. image:: https://img.shields.io/badge/license-LGPL--3-blue.png\n   :target: https://www.gnu.org/licenses/lgpl\n   :alt: License: LGPL-3\n\n======================\nKanban - Stage Support\n======================\n\nThis module provides a stage model compatible with Kanban views and the\nstandard views needed to manage these stages. It also provides the\n``base.kanban.abstract`` model, which can be inherited to add support for\nKanban views with stages to any other model. Lastly, it includes a base Kanban\nview that can be extended as needed.\n\nInstallation\n============\n\nTo install this module, simply follow the standard install process.\n\nConfiguration\n=============\n\nNo configuration is needed or possible.\n\nUsage\n=====\n\n* Inherit from ``base.kanban.abstract`` to add Kanban stage functionality to\n  the child model:\n\n  .. code-block:: python\n\n    class MyModel(models.Model):\n        _name = 'my.model'\n        _inherit = 'base.kanban.abstract'\n\n* Extend the provided base Kanban view (``base_kanban_abstract_view_kanban``)\n  as needed by the child model while making sure to set the ``mode`` to\n  ``primary`` so that inheritance works properly. The base view has four\n  ``name`` attributes intended to provide convenient XPath access to different\n  parts of the Kanban  card. They are ``card_dropdown_menu``, ``card_header``,\n  ``card_body``, and ``card_footer``:\n\n  .. code-block:: xml\n\n    <record id=\"my_model_view_kanban\" model=\"ir.ui.view\">\n        <field name=\"name\">My Model - Kanban View</field>\n        <field name=\"model\">my.model</field>\n        <field name=\"mode\">primary</field>\n        <field name=\"inherit_id\" ref=\"base_kanban_stage.base_kanban_abstract_view_kanban\"/>\n        <field name=\"arch\" type=\"xml\">\n            <xpath expr=\"//div[@name='card_header']\">\n                <!-- Add header content here -->\n            </xpath>\n            <xpath expr=\"//div[@name='card_body']\">\n                <!-- Add body content here -->\n            </xpath>\n        </field>\n    </record>\n\n* To manage stages, go to Settings > Technical > Kanban > Stages.\n\n.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas\n   :alt: Try me on Runbot\n   :target: https://runbot.odoo-community.org/runbot/162/13.0\n\nKnown Issues / Roadmap\n======================\n\n* The grouping logic used by ``base.kanban.abstract`` currently does not\n  support additional domains and alternate sort orders\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issue\n<https://github.com/OCA/server-tools/issues>`_. In case of trouble, please\ncheck there if your issue has already been reported. If you spotted it first,\nhelp us smash it by providing detailed and welcomed feedback.\n\nCredits\n=======\n\nImages\n------\n\n* Odoo Community Association: `Icon <https://odoo-community.org/logo.png>`_.\n\nContributors\n------------\n\n* Dave Lasley <dave@laslabs.com>\n* Oleg Bulkin <obulkin@laslabs.com>\n* Daniel Reis <dreis.pt@hotmail.com>\n* Alex Comba <alex.comba@agilebg.com>\n* Miquel Ra\u00efch <miquel.raich@eficent.com>\n* Helly kapatel <helly.kapatel@initos.com>\n\nMaintainer\n----------\n\n.. image:: https://odoo-community.org/logo.png\n   :alt: Odoo Community Association\n   :target: https://odoo-community.org\n\nThis module is maintained by the OCA.\n\nOCA, or the Odoo Community Association, is a nonprofit organization whose\nmission is to support the collaborative development of Odoo features and\npromote its widespread use.\n\nTo contribute to this module, please visit http://odoo-community.org.\n\n\n",
    "bugtrack_url": null,
    "license": "LGPL-3",
    "summary": "Provides stage model and abstract logic for inheritance",
    "version": "14.0.1.0.2",
    "project_urls": {
        "Homepage": "https://github.com/OCA/server-tools"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "14f5a29627327e0687c189a0c5ed471d90664df1ca63287871e527717eae5637",
                "md5": "15d1a37b5054bbddc18c09b35d9ac509",
                "sha256": "1c2aa8aa35d91f65d6c535d1fc9466886f1622b5533425545c14175bdb4793d1"
            },
            "downloads": -1,
            "filename": "odoo14_addon_base_kanban_stage-14.0.1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "15d1a37b5054bbddc18c09b35d9ac509",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 181548,
            "upload_time": "2023-10-29T11:45:15",
            "upload_time_iso_8601": "2023-10-29T11:45:15.277279Z",
            "url": "https://files.pythonhosted.org/packages/14/f5/a29627327e0687c189a0c5ed471d90664df1ca63287871e527717eae5637/odoo14_addon_base_kanban_stage-14.0.1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-29 11:45:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "OCA",
    "github_project": "server-tools",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "odoo14-addon-base-kanban-stage"
}
        
Elapsed time: 0.36037s