From 23ccc2a8c5318e2faeed48413b5a5418c060ffc3 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 --- 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 34f5e252752..935ea3af539 100644 --- a/erpnext/manufacturing/doctype/work_order/work_order.py +++ b/erpnext/manufacturing/doctype/work_order/work_order.py @@ -2685,6 +2685,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()