From 1941c3b136f3d328ebcbe821fe2507d36e24f25b Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Wed, 20 May 2026 00:37:32 +0530 Subject: [PATCH] fix: use route_options for Credit Note and Debit Note sidebar links (backport #55026) (#55063) Co-authored-by: Nabin Hait fix: use route_options for Credit Note and Debit Note sidebar links (#55026) --- erpnext/workspace_sidebar/invoicing.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/erpnext/workspace_sidebar/invoicing.json b/erpnext/workspace_sidebar/invoicing.json index 0c4a5a8c369..b6ff0c790e2 100644 --- a/erpnext/workspace_sidebar/invoicing.json +++ b/erpnext/workspace_sidebar/invoicing.json @@ -80,14 +80,13 @@ { "child": 1, "collapsible": 1, - "filters": "[[\"Sales Invoice\",\"is_return\",\"=\",1]]", "icon": "", "indent": 0, "keep_closed": 0, "label": "Credit Note", "link_to": "Sales Invoice", "link_type": "DocType", - "route_options": "", + "route_options": "{\"is_return\": 1}", "show_arrow": 0, "type": "Link" }, @@ -139,12 +138,12 @@ { "child": 1, "collapsible": 1, - "filters": "[[\"Purchase Invoice\",\"is_return\",\"=\",1]]", "indent": 0, "keep_closed": 0, "label": "Debit Note", "link_to": "Purchase Invoice", "link_type": "DocType", + "route_options": "{\"is_return\": 1}", "show_arrow": 0, "type": "Link" },