<?xml version="1.0" encoding="utf-8"?>
<terp>
    <data>
        
        <record id="res_partner_canal-view" model="ir.ui.view">
            <field name="name">res.partner.canal.form</field>
            <field name="model">res.partner.canal</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Channel">
                    <field name="name" select="1"/>
                    <field name="active" select="1"/>
                </form>
            </field>
        </record>
        <record id="res_partner_canal-act" model="ir.actions.act_window">
            <field name="name">Channels</field>
            <field name="res_model">res.partner.canal</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form</field>
        </record>
        <menuitem id="next_id_14" name="Partner Events" parent="base.menu_base_config"/><menuitem action="res_partner_canal-act" groups="group_admin" id="menu_res_partner_canal-act" parent="next_id_14"/>
        
        <record id="res_partner_event_type-view" model="ir.ui.view">
            <field name="name">res.partner.event.type.form</field>
            <field name="model">res.partner.event.type</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Event Type">
                    <field name="name" select="1"/>
                    <field name="active" select="1"/>
                    <field name="key" readonly="1" select="1"/>
                </form>
            </field>
        </record>
        
        <record id="res_partner_event_type_view_tree" model="ir.ui.view">
            <field name="name">res.partner.event.type.tree</field>
            <field name="model">res.partner.event.type</field>
            <field name="type">tree</field>
            <field name="arch" type="xml">
                <tree string="Event Type">
                    <field name="name"/>
                    <field name="active"/>
                </tree>
            </field>
        </record>
        
        <record id="res_partner_event_type-act" model="ir.actions.act_window">
            <field name="name">Active Partner Events</field>
            <field name="res_model">res.partner.event.type</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form</field>
            <field name="context">{'active_test': False}</field>
        </record>
        <menuitem action="res_partner_event_type-act" groups="group_admin" id="menu_res_partner_event_type-act" parent="base.next_id_14"/>
        
        <record id="res_partner_som_tree-view" model="ir.ui.view">
            <field name="name">res.partner.som.tree</field>
            <field name="model">res.partner.som</field>
            <field name="type">tree</field>
            <field name="arch" type="xml">
                <tree string="Partner State of Mind">
                    <field name="name"/>
                    <field name="factor"/>
                </tree>
            </field>
        </record>
        
        <record id="res_partner_som-view" model="ir.ui.view">
            <field name="name">res.partner.som.form</field>
            <field name="model">res.partner.som</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Partner State of Mind">
                    <field name="name" select="1"/>
                    <field name="factor" select="1"/>
                </form>
            </field>
        </record>
        <record id="res_partner_som-act" model="ir.actions.act_window">
            <field name="name">States of mind</field>
            <field name="res_model">res.partner.som</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form</field>
        </record>
        <menuitem action="res_partner_som-act" groups="group_admin" id="menu_res_partner_som-act" parent="base.next_id_14"/>
        
        <record id="res_partner_event-wopartner-view_form" model="ir.ui.view">
            <field name="name">res.partner.event.form</field>
            <field name="model">res.partner.event</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Partner Events">
                    <separator colspan="4" string="General Description"/>
                    <field name="name" select="1"/>
                    <field name="partner_type" select="1"/>
                    <field name="som" select="1"/>
                    <field name="date" select="1"/>
                    <field name="canal_id" select="1"/>
                    <field name="type" select="1"/>
                    <field name="user_id" select="1"/>
                    <field name="probability"/>
                    <field name="planned_revenue"/>
                    <field name="planned_cost"/>
                    <separator colspan="4" string="Description"/>
                    <field colspan="4" name="description"/>
                    <separator colspan="4" string="Document Link"/>
                    <field colspan="4" name="document"/>
                </form>
            </field>
        </record>
        
        <record id="res_partner_event-wopartner-view_tree" model="ir.ui.view">
            <field name="name">res.partner.event.tree</field>
            <field name="model">res.partner.event</field>
            <field name="type">tree</field>
            <field name="arch" type="xml">
                <tree string="Partner Events">
                    <field name="date"/>
                    <field name="name"/>
                    <field name="som"/>
                    <field name="partner_type"/>
                    <field name="user_id"/>
                </tree>
            </field>
        </record>
    </data>
</terp>