fix: use get_all instead of get_list
diff --git a/erpnext/accounts/utils.py b/erpnext/accounts/utils.py
index 0a116a7..aef0c38 100644
--- a/erpnext/accounts/utils.py
+++ b/erpnext/accounts/utils.py
@@ -2044,4 +2044,4 @@
 
 
 def get_party_types_from_account_type(account_type):
-	return frappe.db.get_list("Party Type", {"account_type": account_type}, pluck="name")
+	return frappe.db.get_all("Party Type", {"account_type": account_type}, pluck="name")