<?xml version="1.0"?>
<openerp>
    <data>

<!--  Old wizard -->

	<wizard
            id="wizard_crm_phonecall_meeting_set"
            keyword="client_action_multi"
            model="crm.phonecall"
            name="crm.phonecall.meeting_set"
            multi="True"
            string="Schedule Meeting"/>
            
	    <!-- Phonecall to meeting view -->

        <record model="ir.ui.view" id="phonecall2phonecall2meeting_view">
            <field name="name">crm.phonecall2meeting.form</field>
            <field name="model">crm.phonecall2meeting</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Convert To Meeting">
                	<label string="Are you sure to schedule a Meeting for this Phonecall?" colspan="4"/>
                	<newline/>
                	<separator colspan="4" string=""/>
                	<button name="action_cancel" string="_Cancel"
                		icon="gtk-cancel" special="cancel" />
                	<button name="action_make_meeting" type="object"
                		string="_Schedule" icon="gtk-go-forward" />
                </form>
            </field>
        </record>

	    <!-- Phonecall to meeting action -->

        <record model="ir.actions.act_window" id="phonecall2meeting_act">
            <field name="name">Convert To Meeting</field>
            <field name="res_model">crm.phonecall2meeting</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="view_id" ref="phonecall2phonecall2meeting_view"/>
            <field name="target">new</field>
        </record>

    </data>
</openerp>   