Skip to content

Commit

Permalink
fix: ignore mandatory fields while saving WO (#36954)
Browse files Browse the repository at this point in the history
  • Loading branch information
s-aga-r authored Sep 5, 2023
1 parent ccd2e2b commit f809e12
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 @@ -702,6 +702,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)
Expand Down

0 comments on commit f809e12

Please sign in to comment.