fix: sidebar items for accounts (#51418)

(cherry picked from commit b93f920592)

# Conflicts:
#	erpnext/desktop_icon/accounting.json
#	erpnext/desktop_icon/financial_reports.json
#	erpnext/workspace_sidebar/accounting.json
This commit is contained in:
Nabin Hait
2026-01-01 12:24:39 +05:30
committed by Mergify
parent 2696f69ad4
commit 46d4cc6647
8 changed files with 207 additions and 149 deletions

View File

@@ -1,11 +1,12 @@
{
"app": "erpnext",
"charts": [
{
"chart_name": "Asset Value Analytics",
"label": "Asset Value Analytics"
}
],
"content": "[{\"type\":\"onboarding\",\"data\":{\"onboarding_name\":\"Assets\",\"col\":12}},{\"type\":\"chart\",\"data\":{\"chart_name\":\"Asset Value Analytics\",\"col\":12}},{\"type\":\"spacer\",\"data\":{\"col\":12}},{\"type\":\"header\",\"data\":{\"text\":\"<span class=\\\"h4\\\"><b>Your Shortcuts</b></span>\",\"col\":12}},{\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Asset\",\"col\":3}},{\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Asset Category\",\"col\":3}},{\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Fixed Asset Register\",\"col\":3}},{\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Dashboard\",\"col\":3}},{\"type\":\"spacer\",\"data\":{\"col\":12}},{\"type\":\"header\",\"data\":{\"text\":\"<span class=\\\"h4\\\"><b>Reports & Masters</b></span>\",\"col\":12}},{\"type\":\"card\",\"data\":{\"card_name\":\"Assets\",\"col\":4}},{\"type\":\"card\",\"data\":{\"card_name\":\"Maintenance\",\"col\":4}},{\"type\":\"card\",\"data\":{\"card_name\":\"Reports\",\"col\":4}}]",
"content": "[{\"id\":\"Q-Cl7bMXDm\",\"type\":\"chart\",\"data\":{\"chart_name\":\"Asset Value Analytics\",\"col\":12}},{\"id\":\"gsSQjvl0Tx\",\"type\":\"spacer\",\"data\":{\"col\":12}},{\"id\":\"xRYRq1sW1O\",\"type\":\"header\",\"data\":{\"text\":\"<span class=\\\"h4\\\"><b>Reports &amp; Masters</b></span>\",\"col\":12}},{\"id\":\"Kx2j5N9BKZ\",\"type\":\"card\",\"data\":{\"card_name\":\"Assets\",\"col\":4}},{\"id\":\"jeNsxtLaH3\",\"type\":\"card\",\"data\":{\"card_name\":\"Maintenance\",\"col\":4}},{\"id\":\"EX5e3NvL51\",\"type\":\"card\",\"data\":{\"card_name\":\"Reports\",\"col\":4}}]",
"creation": "2020-03-02 15:43:27.634865",
"custom_blocks": [],
"docstatus": 0,
@@ -182,6 +183,7 @@
"link_to": "Asset Maintenance",
"link_type": "Report",
"onboard": 0,
"report_ref_doctype": "Asset Maintenance",
"type": "Link"
},
{
@@ -193,10 +195,11 @@
"link_to": "Asset Activity",
"link_type": "Report",
"onboard": 0,
"report_ref_doctype": "Asset Activity",
"type": "Link"
}
],
"modified": "2024-01-05 17:40:34.570041",
"modified": "2025-12-31 16:22:38.132729",
"modified_by": "Administrator",
"module": "Assets",
"name": "Assets",
@@ -208,27 +211,7 @@
"restrict_to_domain": "",
"roles": [],
"sequence_id": 7.0,
"shortcuts": [
{
"label": "Asset",
"link_to": "Asset",
"type": "DocType"
},
{
"label": "Asset Category",
"link_to": "Asset Category",
"type": "DocType"
},
{
"label": "Fixed Asset Register",
"link_to": "Fixed Asset Register",
"type": "Report"
},
{
"label": "Dashboard",
"link_to": "Asset",
"type": "Dashboard"
}
],
"title": "Assets"
}
"shortcuts": [],
"title": "Assets",
"type": "Workspace"
}

View File

@@ -10,7 +10,11 @@
"label": "Accounting",
"link_to": "Accounting",
"link_type": "Workspace",
<<<<<<< HEAD
"modified": "2025-11-17 13:33:35.788242",
=======
"modified": "2025-12-31 16:06:04.678577",
>>>>>>> b93f920592 (fix: sidebar items for accounts (#51418))
"modified_by": "Administrator",
"name": "Accounting",
"owner": "Administrator",

View File

@@ -10,11 +10,16 @@
"label": "Financial Reports",
"link_to": "Financial Reports",
"link_type": "Workspace",
<<<<<<< HEAD
"modified": "2025-11-17 13:34:48.074533",
=======
"modified": "2025-12-31 16:07:27.060176",
>>>>>>> b93f920592 (fix: sidebar items for accounts (#51418))
"modified_by": "Administrator",
"name": "Financial Reports",
"owner": "Administrator",
"parent_icon": "Accounts",
"roles": [],
"sidebar": "",
"standard": 1
}

View File

@@ -8,13 +8,14 @@
"icon_type": "Link",
"idx": 3,
"label": "Taxes",
"link_to": "Item Tax Template",
"link_to": "Sales Taxes and Charges Template",
"link_type": "DocType",
"modified": "2025-11-19 15:58:21.226664",
"modified": "2025-12-31 16:59:14.978584",
"modified_by": "Administrator",
"name": "Taxes",
"owner": "Administrator",
"parent_icon": "Accounts",
"roles": [],
"sidebar": "",
"standard": 1
}

View File

@@ -33,7 +33,7 @@
{
"child": 0,
"collapsible": 1,
"icon": "arrow-right",
"icon": "arrow-left-to-line",
"indent": 1,
"keep_closed": 0,
"label": "Receivables",
@@ -67,12 +67,14 @@
{
"child": 1,
"collapsible": 1,
"filters": "",
"icon": "",
"indent": 0,
"keep_closed": 0,
"label": "Credit Note",
"link_to": "Sales Invoice",
"link_type": "DocType",
"route_options": "",
"show_arrow": 0,
"type": "Link"
},
@@ -90,7 +92,7 @@
{
"child": 0,
"collapsible": 1,
"icon": "arrow-left",
"icon": "arrow-right-from-line",
"indent": 1,
"keep_closed": 0,
"label": "Payables",
@@ -146,7 +148,7 @@
{
"child": 0,
"collapsible": 1,
"icon": "dollar-sign",
"icon": "money-coins-1",
"indent": 1,
"keep_closed": 1,
"label": "Payments",
@@ -176,6 +178,28 @@
"show_arrow": 0,
"type": "Link"
},
{
"child": 1,
"collapsible": 1,
"indent": 0,
"keep_closed": 0,
"label": "Payment Request",
"link_to": "Payment Request",
"link_type": "DocType",
"show_arrow": 0,
"type": "Link"
},
{
"child": 1,
"collapsible": 1,
"indent": 0,
"keep_closed": 0,
"label": "Payment Order",
"link_to": "Payment Order",
"link_type": "DocType",
"show_arrow": 0,
"type": "Link"
},
{
"child": 1,
"collapsible": 1,
@@ -188,9 +212,34 @@
"type": "Link"
},
{
<<<<<<< HEAD
=======
"child": 1,
"collapsible": 1,
"indent": 0,
"keep_closed": 0,
"label": "Unreconcile Payment",
"link_to": "Unreconcile Payment",
"link_type": "DocType",
"show_arrow": 0,
"type": "Link"
},
{
"child": 1,
"collapsible": 1,
"indent": 0,
"keep_closed": 0,
"label": "Process Payment Reconciliation",
"link_to": "Process Payment Reconciliation",
"link_type": "DocType",
"show_arrow": 0,
"type": "Link"
},
{
>>>>>>> b93f920592 (fix: sidebar items for accounts (#51418))
"child": 0,
"collapsible": 1,
"icon": "notepad-text",
"icon": "sheet",
"indent": 1,
"keep_closed": 1,
"label": "Reports",
@@ -234,6 +283,80 @@
{
"child": 0,
"collapsible": 1,
<<<<<<< HEAD
=======
"icon": "lock-keyhole-open",
"indent": 1,
"keep_closed": 1,
"label": "Opening & Closing",
"link_type": "DocType",
"show_arrow": 0,
"type": "Section Break"
},
{
"child": 1,
"collapsible": 1,
"icon": "",
"indent": 0,
"keep_closed": 0,
"label": "COA Importer",
"link_to": "Chart of Accounts Importer",
"link_type": "DocType",
"show_arrow": 0,
"type": "Link"
},
{
"child": 1,
"collapsible": 1,
"icon": "",
"indent": 0,
"keep_closed": 0,
"label": "Opening Invoice Tool",
"link_to": "Opening Invoice Creation Tool",
"link_type": "DocType",
"show_arrow": 0,
"type": "Link"
},
{
"child": 1,
"collapsible": 1,
"icon": "",
"indent": 0,
"keep_closed": 0,
"label": "Accounting Period",
"link_to": "Accounting Period",
"link_type": "DocType",
"show_arrow": 0,
"type": "Link"
},
{
"child": 1,
"collapsible": 1,
"icon": "",
"indent": 0,
"keep_closed": 0,
"label": "FX Revaluation",
"link_to": "Exchange Rate Revaluation",
"link_type": "DocType",
"show_arrow": 0,
"type": "Link"
},
{
"child": 1,
"collapsible": 1,
"icon": "",
"indent": 0,
"keep_closed": 0,
"label": "Period Closing Voucher",
"link_to": "Period Closing Voucher",
"link_type": "DocType",
"show_arrow": 0,
"type": "Link"
},
{
"child": 0,
"collapsible": 1,
>>>>>>> b93f920592 (fix: sidebar items for accounts (#51418))
"icon": "database",
"indent": 1,
"keep_closed": 1,
@@ -380,14 +503,18 @@
"icon": "settings",
"indent": 0,
"keep_closed": 0,
"label": "Accounts Settings",
"label": "Settings",
"link_to": "Accounts Settings",
"link_type": "DocType",
"show_arrow": 0,
"type": "Link"
}
],
<<<<<<< HEAD
"modified": "2025-11-25 10:46:09.814457",
=======
"modified": "2025-12-31 16:54:07.693056",
>>>>>>> b93f920592 (fix: sidebar items for accounts (#51418))
"modified_by": "Administrator",
"module": "Accounts",
"name": "Accounting",

View File

@@ -33,7 +33,7 @@
{
"child": 0,
"collapsible": 1,
"icon": "assets",
"icon": "laptop",
"indent": 0,
"keep_closed": 0,
"label": "Asset",
@@ -42,6 +42,30 @@
"show_arrow": 0,
"type": "Link"
},
{
"child": 0,
"collapsible": 1,
"icon": "trending-down",
"indent": 0,
"keep_closed": 0,
"label": "Depreciation Schedule",
"link_to": "Asset Depreciation Schedule",
"link_type": "DocType",
"show_arrow": 0,
"type": "Link"
},
{
"child": 0,
"collapsible": 1,
"icon": "sprout",
"indent": 0,
"keep_closed": 0,
"label": "Asset Capitalization",
"link_to": "Asset Capitalization",
"link_type": "DocType",
"show_arrow": 0,
"type": "Link"
},
{
"child": 0,
"collapsible": 1,
@@ -54,17 +78,6 @@
"show_arrow": 0,
"type": "Link"
},
{
"child": 0,
"collapsible": 1,
"indent": 0,
"keep_closed": 0,
"label": "Fixed Asset Register",
"link_to": "Fixed Asset Register",
"link_type": "Report",
"show_arrow": 0,
"type": "Link"
},
{
"child": 0,
"collapsible": 1,
@@ -131,21 +144,10 @@
"show_arrow": 0,
"type": "Link"
},
{
"child": 1,
"collapsible": 1,
"indent": 0,
"keep_closed": 0,
"label": "Asset Capitalization",
"link_to": "Asset Capitalization",
"link_type": "DocType",
"show_arrow": 0,
"type": "Link"
},
{
"child": 0,
"collapsible": 1,
"icon": "notepad-text",
"icon": "sheet",
"indent": 1,
"keep_closed": 1,
"label": "Reports",
@@ -153,6 +155,17 @@
"show_arrow": 0,
"type": "Section Break"
},
{
"child": 1,
"collapsible": 1,
"indent": 0,
"keep_closed": 0,
"label": "Fixed Asset Register",
"link_to": "Fixed Asset Register",
"link_type": "Report",
"show_arrow": 0,
"type": "Link"
},
{
"child": 1,
"collapsible": 1,
@@ -250,12 +263,13 @@
"label": "Settings",
"link_to": "Accounts Settings",
"link_type": "DocType",
"navigate_to_tab": "assets_tab",
"show_arrow": 0,
"type": "Link",
"url": ""
}
],
"modified": "2025-11-25 10:46:09.778268",
"modified": "2025-12-31 16:27:44.936562",
"modified_by": "Administrator",
"module": "Assets",
"name": "Assets",

View File

@@ -1,76 +0,0 @@
{
"app": "erpnext",
"creation": "2025-11-12 15:14:26.244306",
"docstatus": 0,
"doctype": "Workspace Sidebar",
"header_icon": "lock-keyhole-open",
"idx": 0,
"items": [
{
"child": 0,
"collapsible": 1,
"icon": "accounting",
"indent": 0,
"keep_closed": 0,
"label": "COA Importer",
"link_to": "Chart of Accounts Importer",
"link_type": "DocType",
"show_arrow": 0,
"type": "Link"
},
{
"child": 0,
"collapsible": 1,
"icon": "tool",
"indent": 0,
"keep_closed": 0,
"label": "Opening Invoice Tool",
"link_to": "Opening Invoice Creation Tool",
"link_type": "DocType",
"show_arrow": 0,
"type": "Link"
},
{
"child": 0,
"collapsible": 1,
"icon": "folder-clock",
"indent": 0,
"keep_closed": 0,
"label": "Accounting Period",
"link_to": "Accounting Period",
"link_type": "DocType",
"show_arrow": 0,
"type": "Link"
},
{
"child": 0,
"collapsible": 1,
"icon": "expand-alt",
"indent": 0,
"keep_closed": 0,
"label": "FX Revaluation",
"link_to": "Exchange Rate Revaluation",
"link_type": "DocType",
"show_arrow": 0,
"type": "Link"
},
{
"child": 0,
"collapsible": 1,
"icon": "calendar-check",
"indent": 0,
"keep_closed": 0,
"label": "Period Closing Voucher",
"link_to": "Period Closing Voucher",
"link_type": "DocType",
"show_arrow": 0,
"type": "Link"
}
],
"modified": "2025-11-25 10:46:09.262478",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Opening & Closing",
"owner": "Administrator",
"title": "Opening & Closing"
}

View File

@@ -12,7 +12,7 @@
"icon": "panel-bottom-close",
"indent": 0,
"keep_closed": 0,
"label": "Sales Template",
"label": "Sales Tax Template",
"link_to": "Sales Taxes and Charges",
"link_type": "DocType",
"show_arrow": 0,
@@ -24,12 +24,24 @@
"icon": "panel-top-close",
"indent": 0,
"keep_closed": 0,
"label": "Purchase Template",
"label": "Purchase Tax Template",
"link_to": "Purchase Taxes and Charges Template",
"link_type": "DocType",
"show_arrow": 0,
"type": "Link"
},
{
"child": 0,
"collapsible": 1,
"icon": "stock",
"indent": 0,
"keep_closed": 0,
"label": "Item Tax Template",
"link_to": "Item Tax Template",
"link_type": "DocType",
"show_arrow": 0,
"type": "Link"
},
{
"child": 0,
"collapsible": 1,
@@ -54,18 +66,6 @@
"show_arrow": 0,
"type": "Link"
},
{
"child": 0,
"collapsible": 1,
"icon": "stock",
"indent": 0,
"keep_closed": 0,
"label": "Item Tax Template",
"link_to": "Item Tax Template",
"link_type": "DocType",
"show_arrow": 0,
"type": "Link"
},
{
"child": 0,
"collapsible": 1,
@@ -91,7 +91,7 @@
"type": "Link"
}
],
"modified": "2025-11-25 10:46:09.268703",
"modified": "2025-12-31 16:55:52.262432",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Taxes",