<odoo>

    <record model="ir.ui.view" id="mgmtsystem_claim_stage_tree_view">
        <field name="name">Management System Claim Stage Tree</field>
        <field name="model">mgmtsystem.claim.stage</field>
        <field name="arch" type="xml">
            <tree>
                <field name="sequence" widget="handle" />
                <field name="name" />
            </tree>
        </field>
    </record>
    <record id="mgmtsystem_claim_stage_form" model="ir.ui.view">
        <field name="name">mgmtsystem.claim.stage.form</field>
        <field name="model">mgmtsystem.claim.stage</field>
        <field name="arch" type="xml">
            <form string="Management System Claim Stage">
                <group col="4">
                    <field name="name" />
                    <field name="case_default" />
                    <field name="sequence" />
                </group>
                <group>
                    <field name="team_ids" />
                </group>
            </form>
        </field>
    </record>
    <record model="ir.actions.act_window" id="mgmtsystem_claim_stage_action">
        <field name="name">Management System Claim Stages</field>
        <field name="res_model">mgmtsystem.claim.stage</field>
        <field name="view_id" ref="mgmtsystem_claim_stage_tree_view" />
        <field name="help" type="html">
            <p class="oe_view_nocontent_create">
                Click to setup a new stage in the processing of the Management System claims.
            </p>
            <p>
                You can create Management System claim stages to categorize the status of every
                claim entered in the system. The stages define all the steps
                required for the resolution of a claim.
            </p>
        </field>
    </record>

    <menuitem
        id="menu_mgmtsystem_claim_stages"
        name="Stages"
        parent="menu_config_claim"
        action="mgmtsystem_claim_stage_action"
        sequence="90"
        groups="mgmtsystem.group_mgmtsystem_manager,mgmtsystem.group_mgmtsystem_auditor,base.group_user"
    />

</odoo>
