fix: load all organization fields

This commit is contained in:
Shariq Ansari 2023-11-13 16:25:17 +05:30
parent 929c0e4ee8
commit 230ecae1be

View File

@ -64,7 +64,7 @@ def get_organizations():
organizations = frappe.qb.get_query(
"CRM Organization",
fields=['name', 'organization_name', 'organization_logo', 'website'],
fields=['*'],
order_by="name asc",
distinct=True,
).run(as_dict=1)