Skip to content

Commit

Permalink
fix: ignore validate while making WO from MR (#44939)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitwaghchaure authored Dec 27, 2024
1 parent 6f8d6c8 commit 9661c1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions erpnext/stock/doctype/material_request/material_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -809,6 +809,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()

Expand Down

0 comments on commit 9661c1d

Please sign in to comment.