Closed fkalpana closed 6 months ago
Workaround- I have fixed it temporarily by commenting File "apps/frappe/frappe/desk/doctype/dashboard_chart/dashboard_chart.py", line 295
Like this
if data:
return {
#"labels": [item["name"] if item["name"] else "Not Specified" for item in data], - -- this line commented.
"datasets": [{"name": chart.name, "values": [item["count"] for item in data]}],
}
else:
return None
Information about bug
Error while opening Healthcare dashbord. KeyError: 'name'
Module
Patient History, Setup / Configuration
Version
Installation method
manual install
Relevant log output / Stack trace / Full Error Message.
Route
Traceback
Request Data
Response Data