diff --git a/crm/api/doc.py b/crm/api/doc.py index ff58b214..b945a05f 100644 --- a/crm/api/doc.py +++ b/crm/api/doc.py @@ -185,7 +185,7 @@ def get_list_data( if column.get("key") not in rows: rows.append(column.get("key")) - data = frappe.get_all( + data = frappe.get_list( doctype, fields=rows, filters=filters,