[IMP] mrp: improve report Overall equipment effectiveness.
This commit is contained in:
committed by
Pierre Masereel
parent
411afe54be
commit
f74d557334
@@ -187,6 +187,7 @@ class MrpWorkcenterProductivity(models.Model):
|
||||
_order = "id desc"
|
||||
_rec_name = "loss_id"
|
||||
|
||||
production_id = fields.Many2one('mrp.production', string='Manufacturing Order', related='workorder_id.production_id', readonly='True')
|
||||
workcenter_id = fields.Many2one('mrp.workcenter', "Work Center", required=True)
|
||||
workorder_id = fields.Many2one('mrp.workorder', 'Work Order')
|
||||
user_id = fields.Many2one(
|
||||
|
||||
@@ -554,6 +554,8 @@
|
||||
<form string="Workcenter Productivity">
|
||||
<group>
|
||||
<group>
|
||||
<field name="production_id"/>
|
||||
<field name="workorder_id"/>
|
||||
<field name="workcenter_id"/>
|
||||
<field name="loss_id"/>
|
||||
</group><group>
|
||||
@@ -613,7 +615,7 @@
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">graph,pivot,tree,form</field>
|
||||
<field name="domain">[]</field>
|
||||
<field name="context">{'search_default_thismonth':True}</field>
|
||||
<field name="context">{'search_default_workcenter_group': 1, 'create':False,'edit':False}</field>
|
||||
<field name="help" type="html">
|
||||
<p>
|
||||
Overall Equipment Effectiveness: no working or blocked time.
|
||||
|
||||
Reference in New Issue
Block a user