From 71886cfc7f9d6a9e462335c81853a7fd83a6362e Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Fri, 23 Feb 2024 17:48:26 +0530 Subject: [PATCH] fix: use get_list instead of get_all --- crm/api/doc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,