[REV] crm_lead_view: mark won/lost buttons are back, but invisible, to be able to be removed without breaking inheriting views

bzr revid: tde@openerp.com-20131021113433-hzdwid0h429xywac
This commit is contained in:
Thibault Delavallée
2013-10-21 13:34:33 +02:00
parent 0d51bd2c3a
commit 48d424511a
+6
View File
@@ -379,6 +379,12 @@
<field name="arch" type="xml">
<form string="Opportunities" version="7.0">
<header>
<!-- :deprecated: this button will be removed from the view with OpenERP v8 -->
<button name="case_mark_won" string="Mark Won" type="object" class="oe_highlight"
invisible="True"/>
<!-- :deprecated: this button will be removed from the view with OpenERP v8 -->
<button name="case_mark_lost" string="Mark Lost" type="object" class="oe_highlight"
invisible="True"/>
<field name="stage_id" widget="statusbar" clickable="True"
domain="['&amp;', ('section_ids', '=', section_id), '|', ('type', '=', type), ('type', '=', 'both')]"/>
</header>