From 33d48c55750324ff1da83414955d8e2f52361b3f Mon Sep 17 00:00:00 2001 From: Sudharsanan11 Date: Thu, 12 Feb 2026 00:35:27 +0530 Subject: [PATCH] fix(manufacturing): set pick list purpose while creating it from work order (cherry picked from commit 23ccc2a8c5318e2faeed48413b5a5418c060ffc3) --- erpnext/manufacturing/doctype/work_order/work_order.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/manufacturing/doctype/work_order/work_order.py b/erpnext/manufacturing/doctype/work_order/work_order.py index f5a5e2693b9..a1347a8d901 100644 --- a/erpnext/manufacturing/doctype/work_order/work_order.py +++ b/erpnext/manufacturing/doctype/work_order/work_order.py @@ -1765,6 +1765,7 @@ def create_pick_list(source_name, target_doc=None, for_qty=None): target_doc, ) + doc.purpose = "Material Transfer for Manufacture" doc.for_qty = for_qty doc.set_item_locations()