mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[FIX] mrp_operations_star_without_material: WO init_without_material field filled from routing line closes #944
This commit is contained in:
@@ -14,9 +14,6 @@ class MrpBom(models.Model):
|
||||
res = super(MrpBom, self)._get_workorder_operations(
|
||||
result2, factor, level, routing_id)
|
||||
for work_order in res:
|
||||
if (work_order['sequence'] < level or
|
||||
work_order.get('routing_wc_line')):
|
||||
continue
|
||||
seq = work_order['sequence'] - level
|
||||
rl = self._get_routing_line_from_workorder(
|
||||
routing_id, seq, work_order['workcenter_id'],
|
||||
|
||||
Reference in New Issue
Block a user