38 lines
1.8 KiB
XML
38 lines
1.8 KiB
XML
<openerp>
|
|
<data>
|
|
|
|
<record id="view_crm_lead2opportunity_partner" model="ir.ui.view">
|
|
<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">
|
|
<form string="Convert to Opportunity">
|
|
|
|
<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" />
|
|
</group>
|
|
<field name="opportunity_ids" colspan="4" nolabel="1" attrs="{'invisible': [('name', '=', 'convert')]}"/>
|
|
|
|
<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>
|
|
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
</data>
|
|
</openerp>
|