[IMP] mrp: Productivity Losses usability improvements

Rename 'Reason' in 'Blocking Reasons'.
Rename 'Effectiveness Category' in 'Category'.
Remove 'Is a Blocking Reason'.
'manual' field become a technical field.
workorder: Change label Efficiency -> Productivity.

The purpose is to make it easier for the user and remove
blocking keywork since it's already in productivity losses views.

Related to task: 58625
PR #23341
This commit is contained in:
Kirti Choudhary
2018-08-20 11:14:33 +02:00
committed by Arnold Moyaux
parent 102a63b815
commit 5b0a84f702
2 changed files with 4 additions and 5 deletions
+3 -4
View File
@@ -466,9 +466,8 @@
<field name="arch" type="xml">
<tree string="Workcenter Productivity Loss">
<field name="sequence" widget="handle"/>
<field name="name"/>
<field name="loss_type"/>
<field name="manual"/>
<field name="name" string="Blocking Reasons"/>
<field name="loss_type" string="Category"/>
</tree>
</field>
</record>
@@ -519,7 +518,7 @@
<field name="res_model">mrp.workcenter.productivity.loss</field>
<field name="view_type">form</field>
<field name="view_mode">tree,kanban,form</field>
<field name="domain">[]</field>
<field name="domain">[('manual', '=', 'True')]</field>
<field name="help" type="html">
<p class="o_view_nocontent_empty_folder">
No productivity loss defined
+1 -1
View File
@@ -203,7 +203,7 @@
<field name="duration" widget="float_time" sum="Total duration"/>
<field name="user_id"/>
<field name="workcenter_id" invisible="1"/>
<field name="loss_id" string="Efficiency"/>
<field name="loss_id" string="Productivity"/>
</tree>
<form>
<group>