it works fines as per requirement but when i create custom app then create folder with customer name and then customer_dashboard.py file add the same code add a overide dashboard hook
override_doctype_dashboards = {
# “Task”: “gate_pass.task.get_dashboard_data”
“Customer”: “gate_pass.gate_pass.doctype.customer.customer_dashboard.get_data”
}
and finally got this error
Actually there is a new app basically i am customizing the customer doctype because i want to upload this app to frappe cloud due to that i want to do that so i created a folder with customer and create file with customer_dashboard.py the same name which are by default and this file basically i am customizing the doctype.