mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 04:59:18 +00:00
fix: use get_all instead of get_list
This commit is contained in:
@@ -2044,4 +2044,4 @@ def create_gain_loss_journal(
|
|||||||
|
|
||||||
|
|
||||||
def get_party_types_from_account_type(account_type):
|
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")
|
||||||
|
|||||||
Reference in New Issue
Block a user