[REV] stages: removed bar_fold and bar_color fields.
After some experiments, having colors does not seem to give an usable result on statusbar widget. Indeed we need to have the current stage highlited, and maybe something to tell that some stages have a special meaning and/or are the end of the pipe. The closed field already gives that meaning. Moreover the issue with the statusbar widget is that it indicates state and action. Having both dimensions with colors / icons is quite difficult to understand. We therefore stand on a simpler version of the widget, only with stages and the current stage highlighted. bzr revid: tde@openerp.com-20131021104912-8ybhw0svdoghheh3
This commit is contained in:
parent
2cb3b0f382
commit
878ceca988
|
@ -71,10 +71,6 @@ class crm_case_stage(osv.osv):
|
|||
'fold': fields.boolean('Folded in Kanban View',
|
||||
help='This stage is folded in the kanban view when'
|
||||
'there are no records in that stage to display.'),
|
||||
'bar_fold': fields.boolean('Folded in Status Bar',
|
||||
help='This stage is folded in the form view when'
|
||||
'using the statusbar widget.'),
|
||||
'bar_color': fields.integer('Status Bar Color'),
|
||||
'closed': fields.boolean('Closing Stage',
|
||||
help='Indicates whether this field is the end of'
|
||||
'the maangement process. This is for example a'
|
||||
|
|
|
@ -99,13 +99,10 @@
|
|||
<field name="sequence"/>
|
||||
<field name="type"/>
|
||||
<field name="probability"/>
|
||||
<field name="closed"/>
|
||||
<field name="case_default"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="fold"/>
|
||||
<field name="bar_fold"/>
|
||||
<field name="bar_color"/>
|
||||
<field name="closed"/>
|
||||
<field name="on_change"/>
|
||||
<field name="case_default" groups="base.group_multi_salesteams"/>
|
||||
</group>
|
||||
|
|
|
@ -56,10 +56,6 @@ class hr_recruitment_stage(osv.osv):
|
|||
'fold': fields.boolean('Folded in Kanban View',
|
||||
help='This stage is folded in the kanban view when'
|
||||
'there are no records in that stage to display.'),
|
||||
'bar_fold': fields.boolean('Folded in Status Bar',
|
||||
help='This stage is folded in the form view when'
|
||||
'using the statusbar widget.'),
|
||||
'bar_color': fields.integer('Status Bar Color'),
|
||||
'closed': fields.boolean('Closing Stage',
|
||||
help='Indicates whether this field is the end of'
|
||||
'the maangement process. This is for example a'
|
||||
|
|
|
@ -343,7 +343,6 @@
|
|||
<field name="name"/>
|
||||
<field name="department_id"/>
|
||||
<field name="fold"/>
|
||||
<field name="bar_fold"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
@ -360,12 +359,10 @@
|
|||
<field name="name"/>
|
||||
<field name="department_id"/>
|
||||
<field name="sequence"/>
|
||||
<field name="closed"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="fold"/>
|
||||
<field name="bar_fold"/>
|
||||
<field name="bar_color"/>
|
||||
<field name="closed"/>
|
||||
</group>
|
||||
</group>
|
||||
<separator string="Requirements"/>
|
||||
|
|
|
@ -44,10 +44,6 @@ class project_task_type(osv.osv):
|
|||
'fold': fields.boolean('Folded in Kanban View',
|
||||
help='This stage is folded in the kanban view when'
|
||||
'there are no records in that stage to display.'),
|
||||
'bar_fold': fields.boolean('Folded in Status Bar',
|
||||
help='This stage is folded in the form view when'
|
||||
'using the statusbar widget.'),
|
||||
'bar_color': fields.integer('Status Bar Color'),
|
||||
'closed': fields.boolean('Closing Stage',
|
||||
help='Indicates whether this field is the end of'
|
||||
'the maangement process. This is for example a'
|
||||
|
|
|
@ -70,7 +70,6 @@
|
|||
<field name="name">Cancelled</field>
|
||||
<field name="case_default" eval="True"/>
|
||||
<field name="fold" eval="True"/>
|
||||
<field name="bar_fold" eval="True"/>
|
||||
<field name="closed" eval="True"/>
|
||||
</record>
|
||||
|
||||
|
|
|
@ -687,13 +687,11 @@
|
|||
<group>
|
||||
<field name="name"/>
|
||||
<field name="sequence"/>
|
||||
<field name="closed"/>
|
||||
<field name="case_default"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="fold"/>
|
||||
<field name="bar_fold"/>
|
||||
<field name="bar_color"/>
|
||||
<field name="closed"/>
|
||||
</group>
|
||||
</group>
|
||||
<field name="description" placeholder="Add a description..."/>
|
||||
|
@ -709,7 +707,6 @@
|
|||
<field name="sequence" widget="handle"/>
|
||||
<field name="name"/>
|
||||
<field name="fold"/>
|
||||
<field name="bar_fold"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
|
Loading…
Reference in New Issue