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

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

(cherry picked from commit f809e12747)

Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com>
This commit is contained in:
mergify[bot]
2023-09-05 16:29:03 +05:30
committed by GitHub
parent 119273639c
commit c125dea0f1

View File

@@ -706,6 +706,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)