Skip to content

Conversation

@lasley
Copy link

@lasley lasley commented Oct 28, 2016

  • Create a model to handle abstract stages with Kanban

Medical Base - Kanban

This module provides abstract KanBan logic for use in Medical Resources.

Usage

The medical.base.kanban model should be inherited in order to add KanBan
and Stage functionality to any record

class MyModel(models.Model):
    _name = 'my.model'
    _inherit = 'medical.base.kanban'

A Base KanBan view is also provided, which can be integrated into child views

<record id="my_model_kanban_view" model="ir.ui.view">
    <field name="name">My Record</field>
    <field name="model">my.model</field>
    <field name="inherit_id" ref="medical_base_state.medical_base_kanban_view" />
    <field name="arch" type="xml">
        <!-- Add your contextual changes here w/ XPath -->
    </field>
</record>

* Create a model to handle abstract stages with Kanban
@lasley lasley added this to the 9.0 milestone Oct 28, 2016
@lasley lasley changed the title [ADD] medical_base_kanban: Module for abstract stages [ADD][9.0] medical_base_kanban: Module for abstract stages Oct 28, 2016
Copy link

@simahawk simahawk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just code review: LGTM

@lasley
Copy link
Author

lasley commented Nov 2, 2016

@t3ddftw please review

@lasley
Copy link
Author

lasley commented Nov 18, 2016

We have abstracted this logic and moved to the web repo. As such, this PR is superseded by OCA/web#490.

@lasley lasley closed this Nov 18, 2016
@lasley lasley deleted the feature/9.0/medical_base_kanban branch November 18, 2016 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants