2010-03-10 11:39:47 +00:00
|
|
|
<openerp>
|
2010-04-18 15:32:44 +00:00
|
|
|
<data>
|
2010-03-19 10:50:01 +00:00
|
|
|
|
2010-03-23 14:12:01 +00:00
|
|
|
<record id="view_crm_lead2opportunity_partner" model="ir.ui.view">
|
2010-04-18 15:32:44 +00:00
|
|
|
<field name="name">crm.lead2opportunity.partner.form</field>
|
|
|
|
<field name="model">crm.lead2opportunity.partner</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
2011-02-04 13:05:56 +00:00
|
|
|
<form string="Convert to Opportunity">
|
2011-02-04 13:43:51 +00:00
|
|
|
<group width="540" height="400">
|
2011-02-04 13:05:56 +00:00
|
|
|
<label string="Are you sure you want to create a partner based on this lead ?" colspan="4"/>
|
|
|
|
<label string="You may have to verify that this partner does not exist already." colspan="4"/>
|
|
|
|
<group colspan="4" col="1" attrs="{'invisible':[('msg','=',False)]}">
|
|
|
|
<field name="msg" colspan="4" nolabel="1" height="50"/>
|
|
|
|
</group>
|
|
|
|
<newline />
|
|
|
|
<field name="action"/>
|
|
|
|
<group attrs="{'invisible':[('action','!=','exist')]}">
|
|
|
|
<field name="partner_id" attrs="{'required': [('action', '=', 'exist')]}"/>
|
|
|
|
</group>
|
|
|
|
<separator string="Convert to Opportunity" colspan="4"/>
|
|
|
|
<field name="name" colspan="4"/>
|
|
|
|
<group col="4" colspan="4" attrs="{'invisible': [('name', '=', 'convert')]}">
|
|
|
|
<separator string="Select Opportunities" colspan="4"/>
|
|
|
|
<field name="opportunity_ids" colspan="4" nolabel="1" height="130"/>
|
|
|
|
</group>
|
|
|
|
<separator string="" colspan="4" />
|
|
|
|
<group col="4" colspan="4">
|
|
|
|
<button special="cancel" string="Cancel" icon="gtk-cancel"/>
|
|
|
|
<button name="action_apply" string="Create Opportunity" type="object" icon="gtk-ok"/>
|
|
|
|
</group>
|
|
|
|
</group>
|
|
|
|
</form>
|
2010-07-29 11:15:22 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2010-04-18 15:32:44 +00:00
|
|
|
</data>
|
2010-03-10 11:39:47 +00:00
|
|
|
</openerp>
|