[IMP]: Set the invisible if opportunity_id true
bzr revid: sbh@tinyerp.com-20100119083951-8olhg1zg0tiobl1l
This commit is contained in:
parent
2a12174648
commit
05757ebc38
|
@ -53,7 +53,7 @@
|
|||
</group>
|
||||
<group colspan="2" col="4">
|
||||
<field name="opportunity_id" string="Opportunity Case"/>
|
||||
<button string="Convert to Opportunity" name="%(wizard_crm_lead_opportunity_set)d" icon="gtk-index" type="action"/>
|
||||
<button string="Convert to Opportunity" name="%(wizard_crm_lead_opportunity_set)d" icon="gtk-index" type="action" attrs="{'invisible':[('opportunity_id','!=',False)]}"/>
|
||||
</group>
|
||||
<notebook colspan="4">
|
||||
<page string="Leads">
|
||||
|
|
Loading…
Reference in New Issue