<?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <menuitem
        id="menu_config_claim"
        name="Claim"
        groups="base.group_no_one"
        parent="crm.crm_menu_config"
        sequence="55"
    />
    <record id="crm_claim_category_form" model="ir.ui.view">
        <field name="name">crm.claim.category.form</field>
        <field name="model">crm.claim.category</field>
        <field name="arch" type="xml">
            <form string="Claim Categories">
                <group>
                    <field name="name" />
                    <field name="team_id" />
                </group>
            </form>
        </field>
    </record>
    <record id="crm_claim_category_tree" model="ir.ui.view">
        <field name="name">crm.claim.category.tree</field>
        <field name="model">crm.claim.category</field>
        <field name="arch" type="xml">
            <tree>
                <field name="name" />
                <field name="team_id" />
            </tree>
        </field>
    </record>
    <record id="crm_claim_categ_action" model="ir.actions.act_window">
        <field name="name">Claim Categories</field>
        <field name="res_model">crm.claim.category</field>
        <field name="view_id" ref="crm_claim_category_tree" />
        <field name="help" type="html">
            <p class="oe_view_nocontent_create">
                Click to create a claim category.
            </p>
            <p>
            Create claim categories to better manage and classify your
            claims. Some examples of claims can be: preventive action,
            corrective action.
        </p>
        </field>
    </record>
    <menuitem
        action="crm_claim_categ_action"
        name="Categories"
        id="menu_crm_case_claim-act"
        parent="menu_config_claim"
        groups="base.group_no_one"
    />
</odoo>
