Merge pull request #7887 from rohitwaghchaure/capacity_planning
[Fix] Pull operation on production order, when making from sales order
This commit is contained in:
commit
57a47a83a0
@ -696,6 +696,8 @@ def make_production_orders(items, sales_order, company, project=None):
|
||||
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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user