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):
<field name="name">Rejected</field>
<field name="sequence">29</field>
<field name="case_default" eval="True"/>
- <field name="fold" eval="True"/>
</record>