commit | 9f963a2ac730e38dc480a8ecdc523f1af168d956 | [log] [tgz] |
---|---|---|
author | Deepesh Garg <deepeshgarg6@gmail.com> | Sun May 24 21:55:47 2020 +0530 |
committer | Deepesh Garg <deepeshgarg6@gmail.com> | Sun May 24 21:55:47 2020 +0530 |
tree | ba6def102f1957b33919273ddbc77b9832abd240 | |
parent | 8f34cf59f8fa6716b58d6cd7a086f911ba39096e [diff] |
fix: Company query for number cards
diff --git a/erpnext/healthcare/dashboard_fixtures.py b/erpnext/healthcare/dashboard_fixtures.py index 59da71a..967117d 100644 --- a/erpnext/healthcare/dashboard_fixtures.py +++ b/erpnext/healthcare/dashboard_fixtures.py
@@ -19,7 +19,7 @@ else: company = frappe.get_list("Company", limit=1) if company: - return company.name + return company[0].name return None def get_dashboards():