From 6c1620ab8cb816733de4e613af67ff4374ed0f84 Mon Sep 17 00:00:00 2001 From: Karuppasamy B Date: Thu, 13 Nov 2025 01:16:48 +0530 Subject: [PATCH] fix(purchase_receipt): add internal_and_external_links field to show purchase invoice connection count --- .../doctype/purchase_receipt/purchase_receipt_dashboard.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/erpnext/stock/doctype/purchase_receipt/purchase_receipt_dashboard.py b/erpnext/stock/doctype/purchase_receipt/purchase_receipt_dashboard.py index b1b0a962246..628b4628f79 100644 --- a/erpnext/stock/doctype/purchase_receipt/purchase_receipt_dashboard.py +++ b/erpnext/stock/doctype/purchase_receipt/purchase_receipt_dashboard.py @@ -18,6 +18,9 @@ def get_data(): "Purchase Order": ["items", "purchase_order"], "Project": ["items", "project"], }, + "internal_and_external_links": { + "Purchase Invoice": ["items", "purchase_invoice"], + }, "transactions": [ { "label": _("Related"),