From 0a633a212d01c573668e46aa279fe04326e0b24f Mon Sep 17 00:00:00 2001 From: Devin Slauenwhite Date: Tue, 12 Jul 2022 13:05:40 -0400 Subject: [PATCH] fix: display customer name on picking list --- erpnext/stock/doctype/pick_list/pick_list.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/erpnext/stock/doctype/pick_list/pick_list.json b/erpnext/stock/doctype/pick_list/pick_list.json index ff209097a0..498625a087 100644 --- a/erpnext/stock/doctype/pick_list/pick_list.json +++ b/erpnext/stock/doctype/pick_list/pick_list.json @@ -10,6 +10,7 @@ "company", "purpose", "customer", + "customer_name", "work_order", "material_request", "for_qty", @@ -159,11 +160,18 @@ "fieldname": "prompt_qty", "fieldtype": "Check", "label": "Prompt Qty" + }, + { + "depends_on": "eval:doc.purpose==='Delivery' && doc.customer", + "fetch_from": "customer.customer_name", + "fieldname": "customer_name", + "fieldtype": "Data", + "label": "Customer Name" } ], "is_submittable": 1, "links": [], - "modified": "2022-05-11 09:09:53.029312", + "modified": "2022-07-12 13:03:04.442174", "modified_by": "Administrator", "module": "Stock", "name": "Pick List",