mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 07:02:54 +00:00
[Fix] Pull operation on production order, when making from sales order
This commit is contained in:
@@ -687,6 +687,8 @@ def make_production_orders(items, sales_order, company, project=None):
|
|||||||
project=project,
|
project=project,
|
||||||
fg_warehouse=i['warehouse']
|
fg_warehouse=i['warehouse']
|
||||||
)).insert()
|
)).insert()
|
||||||
|
production_order.set_production_order_operations()
|
||||||
|
production_order.save()
|
||||||
out.append(production_order)
|
out.append(production_order)
|
||||||
|
|
||||||
return [p.name for p in out]
|
return [p.name for p in out]
|
||||||
|
|||||||
Reference in New Issue
Block a user