From 73b7ec32b697708a0594ae8066f3269ad96b8760 Mon Sep 17 00:00:00 2001 From: rohitwaghchaure Date: Mon, 17 Aug 2026 18:13:13 +0530 Subject: [PATCH] fix: don't set work order status to In Process only due to skip material transfer (#58246) --- erpnext/manufacturing/doctype/work_order/work_order.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/erpnext/manufacturing/doctype/work_order/work_order.py b/erpnext/manufacturing/doctype/work_order/work_order.py index da26f87a9a1..3397e7940de 100644 --- a/erpnext/manufacturing/doctype/work_order/work_order.py +++ b/erpnext/manufacturing/doctype/work_order/work_order.py @@ -427,11 +427,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 - or self.skip_transfer - or self.has_transferred_material() - ): + if flt(self.material_transferred_for_manufacturing) > 0 or self.has_transferred_material(): status = "In Process" precision = frappe.get_precision("Work Order", "produced_qty")