[IMP] indentation
bzr revid: abo@openerp.com-20120926155450-ebhc7xaiz0d0roto
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<form string="Convert to Opportunity" version="7.0">
|
||||
<group>
|
||||
<field name="action" class="oe_inline"/>
|
||||
<field name="partner_id"
|
||||
<field name="partner_id"
|
||||
attrs="{'required': [('action', '=', 'exist')], 'invisible':[('action','!=','exist')]}"
|
||||
class="oe_inline"/>
|
||||
</group>
|
||||
@@ -44,16 +44,16 @@
|
||||
<field name="name"/>
|
||||
</group>
|
||||
<group string="Select Opportunities" attrs="{'invisible': [('name', '=', 'convert')]}">
|
||||
<field name="opportunity_ids" colspan="4" nolabel="1" attrs="{'invisible': [('name', '=', 'convert')]}">
|
||||
<tree>
|
||||
<field name="name" />
|
||||
<field name="partner_id" />
|
||||
<field name="user_id" />
|
||||
<field name="section_id" />
|
||||
</tree>
|
||||
</field>
|
||||
<field name="opportunity_ids" colspan="4" nolabel="1" attrs="{'invisible': [('name', '=', 'convert')]}">
|
||||
<tree>
|
||||
<field name="name" />
|
||||
<field name="partner_id" />
|
||||
<field name="user_id" />
|
||||
<field name="section_id" />
|
||||
</tree>
|
||||
</field>
|
||||
</group>
|
||||
|
||||
|
||||
<group string="Assign opportunities to">
|
||||
<field name="section_id" />
|
||||
<field name="user_ids" colspan="4">
|
||||
@@ -62,14 +62,14 @@
|
||||
</tree>
|
||||
</field>
|
||||
</group>
|
||||
|
||||
|
||||
<footer>
|
||||
<button name="mass_convert" string="Convert to Opportunities" type="object" class="oe_highlight"/>
|
||||
or
|
||||
<button string="Cancel" class="oe_link" special="cancel"/>
|
||||
</footer>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_crm_lead2opportunity_partner" model="ir.actions.act_window">
|
||||
@@ -88,5 +88,6 @@
|
||||
view_mode="form" target="new" view_type="form"
|
||||
context="{'mass_convert' : True}"
|
||||
view_id="view_crm_lead2opportunity_partner_mass"/>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
<data>
|
||||
|
||||
<!-- Merge Opportunities -->
|
||||
|
||||
<record model="ir.ui.view" id="merge_opportunity_form">
|
||||
<field name="name">crm.merge.opportunity.form</field>
|
||||
<field name="model">crm.merge.opportunity</field>
|
||||
@@ -28,7 +27,6 @@
|
||||
</record>
|
||||
|
||||
<!-- Merge Opportunities action -->
|
||||
|
||||
<record model="ir.actions.act_window" id="merge_opportunity_act">
|
||||
<field name="name">Merge Opportunities</field>
|
||||
<field name="res_model">crm.merge.opportunity</field>
|
||||
|
||||
Reference in New Issue
Block a user