diff --git a/erpnext/stock/doctype/pick_list/pick_list.json b/erpnext/stock/doctype/pick_list/pick_list.json index ff209097a01..e1c3f0f5061 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,19 @@ "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", + "read_only": 1 } ], "is_submittable": 1, "links": [], - "modified": "2022-05-11 09:09:53.029312", + "modified": "2022-07-19 11:03:04.442174", "modified_by": "Administrator", "module": "Stock", "name": "Pick List", @@ -235,4 +244,4 @@ "sort_order": "DESC", "states": [], "track_changes": 1 -} \ No newline at end of file +}