[FIX] crm: mark lost button does not appear everytime anymore
bzr revid: tde@openerp.com-20130809075228-umybo4y635kf1mrf
This commit is contained in:
parent
769962e5f9
commit
39cb3e44b1
|
@ -380,7 +380,8 @@
|
|||
<header>
|
||||
<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"/>
|
||||
<button name="case_mark_lost" string="Mark Lost" type="object" class="oe_highlight"
|
||||
attrs="{'invisible': ['|', ('probability', '=', 0), ('probability', '=', 100)]}"/>
|
||||
<field name="stage_id" widget="statusbar" clickable="True"
|
||||
domain="['&', ('section_ids', '=', section_id), '|', ('type', '=', type), ('type', '=', 'both')]"/>
|
||||
</header>
|
||||
|
|
Loading…
Reference in New Issue