From 34a0aa2ee9631ee735b5e7a291d3d4644d0cdce5 Mon Sep 17 00:00:00 2001 From: Mihir Kandoi Date: Fri, 5 Jun 2026 11:04:43 +0530 Subject: [PATCH] =?UTF-8?q?fix:=20work=20order=20status=20should=20be=20in?= =?UTF-8?q?=20process=20if=20material=20transfer=20is=20s=E2=80=A6=20(#556?= =?UTF-8?q?41)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- erpnext/manufacturing/doctype/work_order/services/status.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/erpnext/manufacturing/doctype/work_order/services/status.py b/erpnext/manufacturing/doctype/work_order/services/status.py index ca4c3af8900..cb9e49a2cce 100644 --- a/erpnext/manufacturing/doctype/work_order/services/status.py +++ b/erpnext/manufacturing/doctype/work_order/services/status.py @@ -124,7 +124,11 @@ class StatusService: if status in ["Closed", "Stopped"]: return status - status = "In Process" if flt(self.doc.material_transferred_for_manufacturing) > 0 else "Not Started" + status = ( + "In Process" + if flt(self.doc.material_transferred_for_manufacturing) > 0 or self.doc.skip_transfer + else "Not Started" + ) precision = frappe.get_precision("Work Order", "produced_qty") total_qty = flt(self.doc.produced_qty, precision) + flt(self.doc.process_loss_qty, precision) if flt(total_qty, precision) >= flt(self.doc.qty, precision):