[IMP]:make invisible mark lost in won stage

bzr revid: aja@tinyerp.com-20130620125318-o17pjbd0rgr6d15d
This commit is contained in:
ajay javiya (OpenERP)
2013-06-20 18:23:18 +05:30
parent f55de6c9e2
commit c24aca710b
+1 -1
View File
@@ -376,7 +376,7 @@
<button name="case_mark_won" string="Mark Won" type="object" class="oe_highlight"
attrs="{'invisible': [('probability', '=', 100)]}"/>
<button name="case_mark_lost" string="Mark Lost" type="object" class="oe_highlight"
attrs="{'invisible': [('probability', '=', 0)]}"/>
attrs="{'invisible': [('probability', 'in', [0,100])]}"/>
<field name="stage_id" widget="statusbar" clickable="True"
domain="['&amp;', ('section_ids', '=', section_id), '|', ('type', '=', type), ('type', '=', 'both')]"/>
</header>