From 55b07153104482f1edabe9615821adc3ca95404a Mon Sep 17 00:00:00 2001 From: Mihir Kandoi Date: Fri, 5 Jun 2026 11:06:10 +0530 Subject: [PATCH] fix: work order status should be in process if material transfer is skipped (backport #55641 to version-15-hotfix) (#55643) Co-authored-by: Claude Opus 4.8 --- erpnext/manufacturing/doctype/work_order/work_order.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/manufacturing/doctype/work_order/work_order.py b/erpnext/manufacturing/doctype/work_order/work_order.py index 5d8382e7ebd..9d3100302e7 100644 --- a/erpnext/manufacturing/doctype/work_order/work_order.py +++ b/erpnext/manufacturing/doctype/work_order/work_order.py @@ -406,7 +406,7 @@ class WorkOrder(Document): elif self.docstatus == 1: if status not in ["Closed", "Stopped"]: status = "Not Started" - if flt(self.material_transferred_for_manufacturing) > 0: + if flt(self.material_transferred_for_manufacturing) > 0 or self.skip_transfer: status = "In Process" precision = frappe.get_precision("Work Order", "produced_qty")