fix: don't set work order status to In Process only due to skip material transfer (#58244)

This commit is contained in:
rohitwaghchaure
2026-08-17 18:29:24 +05:30
committed by GitHub
parent d40679cffe
commit 1f83906189

View File

@@ -132,9 +132,7 @@ class StatusService:
status = (
"In Process"
if flt(self.doc.material_transferred_for_manufacturing) > 0
or self.doc.skip_transfer
or self._has_transferred_material()
if flt(self.doc.material_transferred_for_manufacturing) > 0 or self._has_transferred_material()
else "Not Started"
)
precision = frappe.get_precision("Work Order", "produced_qty")