<openerp>
   <data>

        <!-- crm make sale's view -->

       <record id="view_crm_make_sale" model="ir.ui.view">
          <field name="name">crm.make.sale.form</field>
          <field name="model">crm.make.sale</field>
          <field name="arch" type="xml">
            <form string="Convert to Quotation" >
                <group col="4">
                    <field name="partner_id" required="1"/>
                    <field name="close"/>
                </group>
                <footer>
                    <button name="makeOrder" string="_Create" type="object" class="oe_highlight"/>
                    or
                    <button string="Cancel" class="oe_link" special="cancel" />
                </footer>
            </form>
          </field>
       </record>

       <!-- crm make sale's  action -->

       <record id="action_crm_make_sale" model="ir.actions.act_window">
          <field name="name">Make Quotation</field>
          <field name="type">ir.actions.act_window</field>
          <field name="res_model">crm.make.sale</field>
          <field name="view_type">form</field>
          <field name="view_mode">form</field>
          <field name="target">new</field>
       </record>

   </data>
</openerp>
