fix: ignore mandatory fields while saving WO (#36954)

This commit is contained in:
s-aga-r
2023-09-05 16:27:17 +05:30
committed by GitHub
parent ccd2e2b086
commit f809e12747

View File

@@ -702,6 +702,7 @@ def raise_work_orders(material_request):
)
wo_order.set_work_order_operations()
wo_order.flags.ignore_mandatory = True
wo_order.save()
work_orders.append(wo_order.name)