diff --git a/erpnext/manufacturing/doctype/work_order/work_order.py b/erpnext/manufacturing/doctype/work_order/work_order.py index e018ee35fc7..e5746c2fd78 100644 --- a/erpnext/manufacturing/doctype/work_order/work_order.py +++ b/erpnext/manufacturing/doctype/work_order/work_order.py @@ -330,6 +330,13 @@ class WorkOrder(Document): else: status = "Cancelled" + if ( + self.skip_transfer + and self.produced_qty + and self.qty > (flt(self.produced_qty) + flt(self.process_loss_qty)) + ): + status = "In Process" + return status def update_work_order_qty(self):