<a class="reference external image-reference" href="http://www.gnu.org/licenses/LGPL-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-lgpl--3-blue.svg">
</a>
<a name="kanban-stage-support"></a>
<h2>Kanban - Stage Support</h2>
<p>This module provides a stage model compatible with Kanban views and the
standard views needed to manage these stages. It also provides the
<code>web.kanban.abstract</code> 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.</p>
<a name="installation"></a>
<h3>Installation</h3>
<p>To install this module, simply follow the standard install process.</p>
<a name="configuration"></a>
<h3>Configuration</h3>
<p>No configuration is needed or possible.</p>
<a name="usage"></a>
<h3>Usage</h3>
<ul>
<li><p class="first">Inherit from <code>web.kanban.abstract</code> to add Kanban stage functionality to
the child model:</p>
<pre>
<code lang="python">class MyModel(models.Model):
_name = 'my.model'
_inherit = 'web.kanban.abstract'</code>
</pre>
</li>
<li><p class="first">Extend the provided base Kanban view (<code>web_kanban_abstract_view_kanban</code>)
as needed by the child model. The base view has four <code>name</code> attributes
intended to provide convenient XPath access to different parts of the Kanban
card. They are <code>card_dropdown_menu</code>, <code>card_header</code>, <code>card_body</code>, and
<code>card_footer</code>:</p>
<pre>
<code lang="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="inherit_id" ref="web_kanban_stage.web_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></code>
</pre>
</li>
<li><p class="first">To manage stages, go to Settings > Technical > Kanban > Stages.</p>
</li>
</ul>
<a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/162/9.0"><img alt="Try me on Runbot" src="https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas" /></a>
<a name="known-issues-roadmap"></a>
<h3>Known Issues / Roadmap</h3>
<ul class="simple">
<li>The grouping logic used by <code>web.kanban.abstract</code> currently does not
support additional domains and alternate sort orders</li>
</ul>
<a name="bug-tracker"></a>
<h3>Bug Tracker</h3>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/web/issues">GitHub Issues</a>. 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.</p>
<a name="credits"></a>
<h3>Credits</h3>
<a name="images"></a>
<h4>Images</h4>
<ul class="simple">
<li>Odoo Community Association:
<a class="reference external" href="https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg">Icon</a>.</li>
</ul>
<a name="contributors"></a>
<h4>Contributors</h4>
<ul class="simple">
<li>Dave Lasley <<a class="reference external" href="mailto:dave@laslabs.com">dave@laslabs.com</a>></li>
<li>Oleg Bulkin <<a class="reference external" href="mailto:obulkin@laslabs.com">obulkin@laslabs.com</a>></li>
<li>Daniel Reis</li>
</ul>
<a name="maintainer"></a>
<h4>Maintainer</h4>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<p>This module is maintained by the OCA.</p>
<p>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.</p>
<p>To contribute to this module, please visit <a class="reference external" href="http://odoo-community.org">http://odoo-community.org</a>.</p>