<?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <record id="crm_claim_stage_tree" model="ir.ui.view">
        <field name="name">crm.claim.stage.tree</field>
        <field name="model">crm.claim.stage</field>
        <field name="arch" type="xml">
            <tree>
                <field name="sequence" widget="handle" />
                <field name="name" />
            </tree>
        </field>
    </record>
    <record id="crm_claim_stage_form" model="ir.ui.view">
        <field name="name">crm.claim.stage.form</field>
        <field name="model">crm.claim.stage</field>
        <field name="arch" type="xml">
            <form string="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 id="crm_claim_stage_act" model="ir.actions.act_window">
        <field name="name">Claim Stages</field>
        <field name="res_model">crm.claim.stage</field>
        <field name="view_id" ref="crm_claim_stage_tree" />
        <field name="help" type="html">
            <p class="oe_view_nocontent_create">
                Click to setup a new stage in the processing of the claims.
            </p>
            <p>
            You can create 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_claim_stage_view"
        name="Stages"
        action="crm_claim_stage_act"
        parent="menu_config_claim"
        sequence="20"
    />
</odoo>
