fix: ignore validate while making WO from MR (backport #44939) (#44942)

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:
mergify[bot]
2024-12-30 23:38:14 +05:30
committed by GitHub
parent 772b7b95ac
commit c33e07550c

View File

@@ -766,6 +766,7 @@ def raise_work_orders(material_request):
) )
wo_order.set_work_order_operations() wo_order.set_work_order_operations()
wo_order.flags.ignore_validate = True
wo_order.flags.ignore_mandatory = True wo_order.flags.ignore_mandatory = True
wo_order.save() wo_order.save()