[FIX] mrp: force computation of time_cycle in workcenter form view
Without this time_cycle is not computed in the tree view on new workcenters created through 'Add an item'. This leads to the time_cycle field being displayed as NaN:NaN. This forces computation on the form view opened through 'Add an item' which solves the issue.
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
<div attrs="{'invisible': [('time_mode', '=', 'auto'), ('workorder_count', '!=' , 0)]}">
|
||||
<field name="time_cycle_manual" widget="float_time" class="oe_inline"/> minutes
|
||||
</div>
|
||||
<field name="time_cycle" invisible="1"/>
|
||||
</group>
|
||||
</group>
|
||||
<notebook>
|
||||
|
||||
Reference in New Issue
Block a user