Dashboard Charts in V12 Menu of Custom App / ERPNext Module (V12 Desktop)

Hi there,

is it possible to create a link to a dashboard Chart in a Custom App Menu?

I know I have to create a custom_app.py file and add the doctypes to be shown, and that the same can be done with report. But what about Dashboards?

How to integrate the new Dashboards in a custom app? Or in any ERPNext Module?

Kind Regards,


Did you find a way?

For the dashboard above the form you can add a doctype-name_dashboard.py file in the doctype direcotry of your custom app.
Example: /erpnext/buying/doctype/purchase_order/purchase_order_dashboard.py

For the all-dashboard-page you can set it up in the Dashboard module.