mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 13:39:18 +00:00
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:
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user