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:
@@ -706,6 +706,7 @@ def raise_work_orders(material_request):
|
|||||||
)
|
)
|
||||||
|
|
||||||
wo_order.set_work_order_operations()
|
wo_order.set_work_order_operations()
|
||||||
|
wo_order.flags.ignore_mandatory = True
|
||||||
wo_order.save()
|
wo_order.save()
|
||||||
|
|
||||||
work_orders.append(wo_order.name)
|
work_orders.append(wo_order.name)
|
||||||
|
|||||||
Reference in New Issue
Block a user