Merge pull request #14014 from rohitwaghchaure/hotfix_production_order_name_issue

[Fix] 'ProductionOrder' object has no attribute 'set_work_order_operations'
This commit is contained in:
rohitwaghchaure 2018-05-14 14:04:09 +05:30 committed by GitHub
commit 7f63c1ad7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -417,7 +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.set_production_order_operations()
prod_order.save()
production_orders.append(prod_order.name)
else: