2010-06-26 05:49:20 +00:00
|
|
|
<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">
|
2012-06-09 20:31:27 +00:00
|
|
|
<form string="Convert to Quotation" version="7.0">
|
|
|
|
<group col="4">
|
2010-10-08 14:44:54 +00:00
|
|
|
<field name="partner_id" required="1"/>
|
2012-08-09 12:36:06 +00:00
|
|
|
<field name="shop_id" required="1" widget="selection" groups="stock.group_locations"/>
|
2010-10-08 14:44:54 +00:00
|
|
|
<field name="close"/>
|
|
|
|
</group>
|
2012-07-10 16:40:11 +00:00
|
|
|
<footer>
|
|
|
|
<button name="makeOrder" string="_Create" type="object" class="oe_highlight"/>
|
|
|
|
or
|
|
|
|
<button string="Cancel" class="oe_link" special="cancel" />
|
|
|
|
</footer>
|
2010-06-26 05:49:20 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-08-09 05:14:49 +00:00
|
|
|
|
2010-06-26 05:49:20 +00:00
|
|
|
<!-- crm make sale's action -->
|
2010-08-09 05:14:49 +00:00
|
|
|
|
2010-06-26 05:49:20 +00:00
|
|
|
<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>
|
2010-08-09 05:14:49 +00:00
|
|
|
|
2010-06-26 05:49:20 +00:00
|
|
|
</data>
|
|
|
|
</openerp>
|