From bb1a655efb4c619702043e59b3e992571c212f51 Mon Sep 17 00:00:00 2001 From: Pandiyan37 Date: Mon, 23 Feb 2026 13:25:18 +0530 Subject: [PATCH] fix(work_order): update returned qty (cherry picked from commit b7f45e6963c9fd9d62549fdff0af00547ae83d33) --- 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 ea473c555cd..12e2ac8b7f4 100644 --- a/erpnext/manufacturing/doctype/work_order/work_order.py +++ b/erpnext/manufacturing/doctype/work_order/work_order.py @@ -358,7 +358,7 @@ class WorkOrder(Document): if status != self.status: self.db_set("status", status) - self.update_required_items() + self.update_required_items() return status or self.status