Set operations on production order while making from Material Request
This commit is contained in:
parent
3cf0d51e65
commit
9d215c2d9b
@ -417,6 +417,7 @@ def raise_production_orders(material_request):
|
||||
prod_order.material_request_item = d.name
|
||||
prod_order.planned_start_date = mr.transaction_date
|
||||
prod_order.company = mr.company
|
||||
prod_order.set_work_order_operations()
|
||||
prod_order.save()
|
||||
production_orders.append(prod_order.name)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user