How to Extend item_dashboard.py file in custom app?

Use Case is I want to add custom doctype link on item dashboard under the Groups Section.

file:///home/dell/Pictures/Screenshot%20from%202021-12-21%2017-23-13.png

if both doctypes are connected (one is the parent of the other) the connection will automatically appears

Resolved

In custom app hooks.py
override_doctype_dashboards = {
“Doctype”: “dotted_path_tocustom_dashboard_file”
}