commit | 28d1d6c91f0c02efeb05e23fc83ab9158daaee90 | [log] [tgz] |
---|---|---|
author | Rucha Mahabal <ruchamahabal2@gmail.com> | Sun May 24 22:12:18 2020 +0530 |
committer | GitHub <noreply@github.com> | Sun May 24 22:12:18 2020 +0530 |
tree | ba6def102f1957b33919273ddbc77b9832abd240 | |
parent | 8f34cf59f8fa6716b58d6cd7a086f911ba39096e [diff] | |
parent | 9f963a2ac730e38dc480a8ecdc523f1af168d956 [diff] |
Merge pull request #21895 from deepeshgarg007/healthcare_dashboard_fix 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():