refactor: using get_all instead of get_list
diff --git a/erpnext/controllers/queries.py b/erpnext/controllers/queries.py
index e71b056..f5668c5 100644
--- a/erpnext/controllers/queries.py
+++ b/erpnext/controllers/queries.py
@@ -217,7 +217,7 @@
 	searchfields = " or ".join([field + " like %(txt)s" for field in searchfields])
 
 	if filters.get('supplier'):
-		item_group_list = frappe.get_list('Supplier Item Group', filters = {'supplier': filters.get('supplier')}, fields = ['item_group'])
+		item_group_list = frappe.get_all('Supplier Item Group', filters = {'supplier': filters.get('supplier')}, fields = ['item_group'])
 		
 		item_groups = []
 		for i in item_group_list: