Denis Ledoux (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-addons21-sales-fka into
lp:openobject-addons.
Requested reviews:
Denis Ledoux (OpenERP) (dle-openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-addons21-sales-fka/+merge/141251
Hello,
- in leads form view, invisible Escalate button, when sales team is blank.
- in sale order form view, visible update button in Quotation Sent status.
Thanks,
FKA
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-addons21-sales-fka/+merge/141251
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-addons21-sales-fka.
=== modified file 'crm/crm_lead_view.xml'
--- crm/crm_lead_view.xml 2012-12-26 10:33:19 +0000
+++ crm/crm_lead_view.xml 2012-12-26 10:50:30 +0000
@@ -156,7 +156,7 @@
<label for="section_id"/>
<div>
<field name="section_id"/>
- <button name="case_escalate" string="Escalate" type="object" states="draft,open,pending"/>
+ <button name="case_escalate" string="Escalate" type="object" attrs="{'invisible': ['|', ('section_id','=',False), ('state', 'not in', ['draft','open','pending'])]}"/>
</div>
<field name="type" invisible="1"/>
</group>
@@ -421,8 +421,7 @@
<label for="section_id"/>
<div>
<field name="section_id" widget="selection"/>
- <button name="case_escalate" string="Escalate" type="object" class="oe_link"
- attrs="{'invisible': [('section_id', '=', False)]}"/>
+ <button name="case_escalate" string="Escalate" type="object" class="oe_link" attrs="{'invisible': ['|', ('section_id','=',False), ('state', 'not in', ['draft','open','pending'])]}"/>
</div>
</group>
<group>
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp