fix: use route_options for Credit Note and Debit Note sidebar links (backport #55026) (#55063)

Co-authored-by: Nabin Hait <nabinhait@gmail.com>
fix: use route_options for Credit Note and Debit Note sidebar links (#55026)
This commit is contained in:
mergify[bot]
2026-05-20 00:37:32 +05:30
committed by GitHub
parent f272d32f80
commit 1941c3b136

View File

@@ -80,14 +80,13 @@
{ {
"child": 1, "child": 1,
"collapsible": 1, "collapsible": 1,
"filters": "[[\"Sales Invoice\",\"is_return\",\"=\",1]]",
"icon": "", "icon": "",
"indent": 0, "indent": 0,
"keep_closed": 0, "keep_closed": 0,
"label": "Credit Note", "label": "Credit Note",
"link_to": "Sales Invoice", "link_to": "Sales Invoice",
"link_type": "DocType", "link_type": "DocType",
"route_options": "", "route_options": "{\"is_return\": 1}",
"show_arrow": 0, "show_arrow": 0,
"type": "Link" "type": "Link"
}, },
@@ -139,12 +138,12 @@
{ {
"child": 1, "child": 1,
"collapsible": 1, "collapsible": 1,
"filters": "[[\"Purchase Invoice\",\"is_return\",\"=\",1]]",
"indent": 0, "indent": 0,
"keep_closed": 0, "keep_closed": 0,
"label": "Debit Note", "label": "Debit Note",
"link_to": "Purchase Invoice", "link_to": "Purchase Invoice",
"link_type": "DocType", "link_type": "DocType",
"route_options": "{\"is_return\": 1}",
"show_arrow": 0, "show_arrow": 0,
"type": "Link" "type": "Link"
}, },