[Fix] Pull operation on production order, when making from sales order
diff --git a/erpnext/selling/doctype/sales_order/sales_order.py b/erpnext/selling/doctype/sales_order/sales_order.py
index fdaadd8..950c415 100644
--- a/erpnext/selling/doctype/sales_order/sales_order.py
+++ b/erpnext/selling/doctype/sales_order/sales_order.py
@@ -687,6 +687,8 @@
project=project,
fg_warehouse=i['warehouse']
)).insert()
+ production_order.set_production_order_operations()
+ production_order.save()
out.append(production_order)
return [p.name for p in out]