2010-03-22 09:57:54 +00:00
|
|
|
<openerp>
|
2010-11-27 16:37:12 +00:00
|
|
|
<data>
|
2010-03-22 09:57:54 +00:00
|
|
|
|
2010-11-27 16:37:12 +00:00
|
|
|
<!-- partner To Opportunity form -->
|
2010-03-22 09:57:54 +00:00
|
|
|
|
2010-11-27 16:37:12 +00:00
|
|
|
<record id="view_crm_partner2opportunity" model="ir.ui.view">
|
|
|
|
<field name="name">crm.crm.partner2opportunity</field>
|
|
|
|
<field name="model">crm.partner2opportunity</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
2012-06-09 14:18:49 +00:00
|
|
|
<form string="Create Opportunity" version="7.0">
|
|
|
|
<header>
|
2012-06-29 08:30:24 +00:00
|
|
|
<button name="make_opportunity" string="Create Opportunity" type="object" class="oe_highlight"/>
|
2012-06-27 13:04:32 +00:00
|
|
|
or
|
|
|
|
<button string="Cancel" class="oe_link" special="cancel" />
|
2012-06-09 22:28:49 +00:00
|
|
|
</header>
|
2012-06-09 14:18:49 +00:00
|
|
|
<group col="4">
|
|
|
|
<field name="name"/>
|
|
|
|
<field name="partner_id"/>
|
|
|
|
<field name="planned_revenue"/>
|
|
|
|
<field name="probability"/>
|
2010-11-27 16:37:12 +00:00
|
|
|
</group>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-03-22 09:57:54 +00:00
|
|
|
|
|
|
|
<!-- partner To Opportunity Action -->
|
|
|
|
|
2010-11-27 16:37:12 +00:00
|
|
|
<record model="ir.actions.act_window" id="action_view_crm_partner2opportunity">
|
2010-03-22 09:57:54 +00:00
|
|
|
<field name="name">Create Opportunity</field>
|
|
|
|
<field name="res_model">crm.partner2opportunity</field>
|
|
|
|
<field name="view_type">form</field>
|
2012-06-28 13:48:42 +00:00
|
|
|
<field name="view_mode">form,tree,kanban,calendar</field>
|
2010-03-22 09:57:54 +00:00
|
|
|
<field name="target">new</field>
|
2011-09-24 09:17:26 +00:00
|
|
|
</record>
|
2010-03-22 09:57:54 +00:00
|
|
|
|
2011-09-24 09:17:26 +00:00
|
|
|
<!-- partner To Opportunity wizard -->
|
2010-03-22 09:57:54 +00:00
|
|
|
|
2011-09-24 09:17:26 +00:00
|
|
|
<act_window id="crm_partner2opportunity"
|
|
|
|
key2="client_action_multi" name="Create Opportunity"
|
|
|
|
res_model="crm.partner2opportunity" src_model="res.partner"
|
|
|
|
view_id="view_crm_partner2opportunity"
|
|
|
|
view_mode="form" target="new" view_type="form"
|
2012-04-25 11:51:39 +00:00
|
|
|
groups="base.group_sale_salesman"/>
|
2011-09-24 09:17:26 +00:00
|
|
|
</data>
|
2010-03-22 09:57:54 +00:00
|
|
|
</openerp>
|