From 4f4af523e0d5c9e947d94ce13dc416d16941cfe6 Mon Sep 17 00:00:00 2001 From: Deepesh Garg Date: Wed, 4 May 2022 17:30:52 +0530 Subject: [PATCH] fix: Show linked time sheets in sales invoice dashboard (cherry picked from commit 3e38dc7ea8a83faa2e714bcebc2d313c8bad7e7a) --- .../doctype/sales_invoice/sales_invoice_dashboard.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice_dashboard.py b/erpnext/accounts/doctype/sales_invoice/sales_invoice_dashboard.py index b83d6a575e0..c0005f78cfd 100644 --- a/erpnext/accounts/doctype/sales_invoice/sales_invoice_dashboard.py +++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice_dashboard.py @@ -12,7 +12,10 @@ def get_data(): "Sales Invoice": "return_against", "Auto Repeat": "reference_document", }, - "internal_links": {"Sales Order": ["items", "sales_order"]}, + "internal_links": { + "Sales Order": ["items", "sales_order"], + "Timesheet": ["timesheets", "time_sheet"], + }, "transactions": [ { "label": _("Payment"),