fix: display customer name on picking list
diff --git a/erpnext/stock/doctype/pick_list/pick_list.json b/erpnext/stock/doctype/pick_list/pick_list.json
index ff20909..498625a 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",