mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 07:54:46 +00:00
fix: ignore mandatory fields while saving WO (#36954)
This commit is contained in:
@@ -702,6 +702,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