mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-13 23:38:01 +00:00
fix: ignore validate while making WO from MR (#44939)
(cherry picked from commit 9661c1d081)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
This commit is contained in:
@@ -766,6 +766,7 @@ def raise_work_orders(material_request):
|
||||
)
|
||||
|
||||
wo_order.set_work_order_operations()
|
||||
wo_order.flags.ignore_validate = True
|
||||
wo_order.flags.ignore_mandatory = True
|
||||
wo_order.save()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user