[FIX] From crm_claim remove the checkbox 'Hide when empty' on claim stages
authorAnand-Dharampuriya <adh@openerp.com>
Thu, 19 Jun 2014 12:49:24 +0000 (18:19 +0530)
committerAnand-Dharampuriya <adh@openerp.com>
Thu, 19 Jun 2014 12:49:24 +0000 (18:19 +0530)
addons/crm_claim/crm_claim.py
addons/crm_claim/crm_claim_data.xml
addons/crm_claim/crm_claim_view.xml

index 641c490..e38bf97 100644 (file)
@@ -45,13 +45,10 @@ class crm_claim_stage(osv.osv):
                         help="Link between stages and sales teams. When set, this limitate the current stage to the selected sales teams."),
         'case_default': fields.boolean('Common to All Teams',
                         help="If you check this field, this stage will be proposed by default on each sales team. It will not assign this stage to existing teams."),
-        'fold': fields.boolean('Hide in Views when Empty',
-                        help="This stage is not visible, for example in status bar or kanban view, when there are no records in that stage to display."),
     }
 
     _defaults = {
         'sequence': lambda *args: 1,
-        'fold': False,
     }
 
 class crm_claim(osv.osv):
index fca7ac5..86cf988 100644 (file)
@@ -61,7 +61,6 @@
             <field name="name">Rejected</field>
             <field name="sequence">29</field>
             <field name="case_default" eval="True"/>
-            <field name="fold" eval="True"/>
         </record>
         
 
index 43df3d0..6180b85 100644 (file)
@@ -51,7 +51,6 @@
                         <field name="name"/>
                         <field name="case_default"/>
                         <field name="sequence"/>
-                        <field name="fold"/>
                     </group>
                 </form>
             </field>