Set operations on production order while making from Material Request

This commit is contained in:
Nabin Hait 2018-05-09 18:32:38 +05:30
parent 3cf0d51e65
commit 9d215c2d9b

View File

@ -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: