commit | 5f57f5948206a55280ec140674ce6108fbcd30d6 | [log] [tgz] |
---|---|---|
author | Deepesh Garg <deepeshgarg6@gmail.com> | Sun May 24 21:55:47 2020 +0530 |
committer | mergify-bot <noreply@mergify.io> | Sun May 24 16:53:38 2020 +0000 |
tree | f4a8d537dd1e1355c8cb7a216f68e1d02721e10c | |
parent | 2e7088c29a82ab2775794facb8e735204ca0ce5d [diff] |
fix: Company query for number cards (cherry picked from commit 9f963a2ac730e38dc480a8ecdc523f1af168d956)
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():