From a0e88ad7b63914907777538b38a12049d6029bf3 Mon Sep 17 00:00:00 2001 From: Gughan Ravikumar Date: Fri, 1 Dec 2023 07:44:27 +0530 Subject: [PATCH] fix: show item name as title instead of item group in BOM Item fields in BOM used to show Item Group when Items were set to show title as link fields. Now they show Item Name instead --- erpnext/manufacturing/doctype/bom/bom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/manufacturing/doctype/bom/bom.py b/erpnext/manufacturing/doctype/bom/bom.py index d48908edfb62..71015a414d3d 100644 --- a/erpnext/manufacturing/doctype/bom/bom.py +++ b/erpnext/manufacturing/doctype/bom/bom.py @@ -1395,7 +1395,7 @@ def item_query(doctype, txt, searchfield, start, page_len, filters): order_by = "idx desc, name, item_name" - fields = ["name", "item_group", "item_name", "description"] + fields = ["name", "item_name", "item_group", "description"] fields.extend( [field for field in searchfields if not field in ["name", "item_group", "description"]] )