[IMP]sale_crm:made Convert to Quotation button invisible if opportunity is closed(Won)

bzr revid: ssu@tinyerp.com-20120926063147-l4nvifaehms9lugc
This commit is contained in:
Saurang Suthar 2012-09-26 12:01:47 +05:30
parent db42aeb576
commit dad2475d9f
1 changed files with 2 additions and 2 deletions

View File

@ -9,8 +9,8 @@
<field name="arch" type="xml">
<data>
<xpath expr="/form/header/button[@name='case_mark_lost']" position="after">
<button states="done" string="Convert to Quotation" name="%(action_crm_make_sale)d" type="action" class="oe_highlight"/>
<button states="draft,open,pending" string="Convert to Quotation" name="%(action_crm_make_sale)d" type="action"/>
<!--button states="done" string="Convert to Quotation" name="%(action_crm_make_sale)d" type="action" class="oe_highlight"/-->
<button states="draft,open,pending" string="Convert to Quotation" name="%(action_crm_make_sale)d" type="action" class="oe_highlight"/>
</xpath>
</data>
</field>