fix: more sidebar improvements

This commit is contained in:
sokumon
2026-09-03 14:46:30 +05:30
parent 64186f229f
commit 56caf3c770
13 changed files with 236 additions and 419 deletions

View File

@@ -854,6 +854,7 @@
"added": 0,
"child": 1,
"collapsible": 1,
"filters": "{\"is_return\": 1}",
"hidden": 0,
"indent": 0,
"is_default_module": 0,
@@ -864,8 +865,7 @@
"open_in_new_tab": 0,
"route_options": "{\"is_return\": 1}",
"show_arrow": 0,
"type": "Link",
"filters": "{\"is_return\": 1}"
"type": "Link"
},
{
"added": 0,
@@ -931,6 +931,7 @@
"added": 0,
"child": 1,
"collapsible": 1,
"filters": "{\"is_return\": 1}",
"hidden": 0,
"indent": 0,
"is_default_module": 0,
@@ -941,8 +942,7 @@
"open_in_new_tab": 0,
"route_options": "{\"is_return\": 1}",
"show_arrow": 0,
"type": "Link",
"filters": "{\"is_return\": 1}"
"type": "Link"
},
{
"added": 0,
@@ -1154,20 +1154,6 @@
"show_arrow": 0,
"type": "Link"
},
{
"added": 0,
"child": 0,
"collapsible": 1,
"hidden": 0,
"indent": 0,
"is_default_module": 0,
"keep_closed": 1,
"label": "Payments",
"link_type": "DocType",
"open_in_new_tab": 1,
"show_arrow": 0,
"type": "Section Break"
},
{
"added": 0,
"child": 1,
@@ -1418,27 +1404,12 @@
"child": 0,
"collapsible": 1,
"hidden": 0,
"indent": 0,
"is_default_module": 0,
"keep_closed": 1,
"label": "Financial Reports",
"link_type": "DocType",
"open_in_new_tab": 1,
"show_arrow": 0,
"type": "Section Break"
},
{
"added": 0,
"child": 1,
"collapsible": 1,
"hidden": 0,
"icon": "wallet",
"indent": 1,
"is_default_module": 0,
"keep_closed": 0,
"label": "Financial Reports",
"link_type": "DocType",
"open_in_new_tab": 0,
"open_in_new_tab": 1,
"show_arrow": 0,
"type": "Section Break"
},
@@ -1877,7 +1848,7 @@
"type": "Link"
}
],
"modified": "2026-08-28 12:00:00.000000",
"modified": "2026-09-01 17:33:21.459367",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Accounts",

View File

@@ -1,48 +0,0 @@
{
"app": "erpnext",
"creation": "2026-08-16 00:00:00.000000",
"docstatus": 0,
"doctype": "Sidebar",
"header_icon": "layers",
"idx": 0,
"items": [
{
"added": 0,
"child": 0,
"collapsible": 1,
"hidden": 0,
"indent": 0,
"is_default_module": 0,
"keep_closed": 0,
"label": "Bulk Transaction Log Detail",
"link_to": "Bulk Transaction Log Detail",
"link_type": "DocType",
"open_in_new_tab": 1,
"show_arrow": 0,
"type": "Link"
},
{
"added": 0,
"child": 0,
"collapsible": 1,
"hidden": 0,
"indent": 0,
"is_default_module": 0,
"keep_closed": 0,
"label": "Bulk Transaction Log",
"link_to": "Bulk Transaction Log",
"link_type": "DocType",
"open_in_new_tab": 1,
"show_arrow": 0,
"type": "Link"
}
],
"modified": "2026-08-16 00:00:00.000000",
"modified_by": "Administrator",
"module": "Bulk Transaction",
"name": "Bulk Transaction",
"owner": "Administrator",
"sequence_id": 0.0,
"standard": 1,
"title": "Bulk Transaction"
}

View File

@@ -1,6 +1,6 @@
{
"app": "erpnext",
"creation": "2026-08-16 00:00:00.000000",
"creation": "2026-08-16 00:00:00",
"docstatus": 0,
"doctype": "Sidebar",
"header_icon": "shopping-cart",
@@ -283,97 +283,6 @@
"show_arrow": 0,
"type": "Link"
},
{
"added": 0,
"child": 0,
"collapsible": 1,
"hidden": 0,
"icon": "rocket",
"indent": 1,
"is_default_module": 0,
"keep_closed": 1,
"label": "Subcontracting",
"link_type": "DocType",
"open_in_new_tab": 0,
"show_arrow": 0,
"type": "Section Break"
},
{
"added": 0,
"child": 1,
"collapsible": 1,
"hidden": 0,
"icon": "folder-tree",
"indent": 0,
"is_default_module": 0,
"keep_closed": 0,
"label": "Subcontracting BOM",
"link_to": "Subcontracting BOM",
"link_type": "DocType",
"open_in_new_tab": 0,
"show_arrow": 0,
"type": "Link"
},
{
"added": 0,
"child": 1,
"collapsible": 1,
"hidden": 0,
"indent": 0,
"is_default_module": 0,
"keep_closed": 0,
"label": "Subcontracting Inward Order",
"link_to": "Subcontracting Inward Order",
"link_type": "DocType",
"open_in_new_tab": 0,
"show_arrow": 0,
"type": "Link"
},
{
"added": 0,
"child": 1,
"collapsible": 1,
"hidden": 0,
"indent": 0,
"is_default_module": 0,
"keep_closed": 0,
"label": "Subcontracting Delivery",
"link_to": "Stock Entry",
"link_type": "DocType",
"open_in_new_tab": 0,
"show_arrow": 0,
"type": "Link"
},
{
"added": 0,
"child": 1,
"collapsible": 1,
"hidden": 0,
"indent": 0,
"is_default_module": 0,
"keep_closed": 0,
"label": "Subcontracting Order",
"link_to": "Subcontracting Order",
"link_type": "DocType",
"open_in_new_tab": 0,
"show_arrow": 0,
"type": "Link"
},
{
"added": 0,
"child": 1,
"collapsible": 1,
"hidden": 0,
"indent": 0,
"is_default_module": 0,
"keep_closed": 0,
"label": "Subcontracting Receipt",
"link_to": "Subcontracting Receipt",
"link_type": "DocType",
"open_in_new_tab": 0,
"show_arrow": 0,
"type": "Link"
},
{
"added": 0,
"child": 0,
@@ -631,12 +540,11 @@
"type": "Link"
}
],
"modified": "2026-08-16 00:00:00.000000",
"modified": "2026-09-01 17:37:29.971719",
"modified_by": "Administrator",
"module": "Buying",
"name": "Buying",
"owner": "Administrator",
"sequence_id": 0.0,
"standard": 1,
"title": "Buying"
}

View File

@@ -1,33 +0,0 @@
{
"app": "erpnext",
"creation": "2026-08-16 00:00:00.000000",
"docstatus": 0,
"doctype": "Sidebar",
"header_icon": "messages-square",
"idx": 0,
"items": [
{
"added": 0,
"child": 0,
"collapsible": 1,
"hidden": 0,
"indent": 0,
"is_default_module": 0,
"keep_closed": 0,
"label": "Communication Medium",
"link_to": "Communication Medium",
"link_type": "DocType",
"open_in_new_tab": 1,
"show_arrow": 0,
"type": "Link"
}
],
"modified": "2026-08-16 00:00:00.000000",
"modified_by": "Administrator",
"module": "Communication",
"name": "Communication",
"owner": "Administrator",
"sequence_id": 0.0,
"standard": 1,
"title": "Communication"
}

View File

@@ -133,30 +133,6 @@
"link_type": "Sidebar",
"title": "Quality"
},
{
"added": 0,
"hidden": 0,
"icon": "messages-square",
"link_to": "Communication",
"link_type": "Sidebar",
"title": "Communication"
},
{
"added": 0,
"hidden": 0,
"icon": "phone",
"link_to": "Telephony",
"link_type": "Sidebar",
"title": "Telephony"
},
{
"added": 0,
"hidden": 0,
"icon": "layers",
"link_to": "Bulk Transaction",
"link_type": "Sidebar",
"title": "Bulk Transaction"
},
{
"added": 0,
"hidden": 0,
@@ -164,17 +140,9 @@
"link_to": "Subcontracting",
"link_type": "Sidebar",
"title": "Subcontracting"
},
{
"added": 0,
"hidden": 0,
"icon": "file-code",
"link_to": "EDI",
"link_type": "Sidebar",
"title": "EDI"
}
],
"modified": "2026-08-28 12:00:00.000000",
"modified": "2026-09-02 14:58:17.082794",
"modified_by": "Administrator",
"name": "erpnext",
"owner": "Administrator",

View File

@@ -1,48 +0,0 @@
{
"app": "erpnext",
"creation": "2026-08-16 00:00:00.000000",
"docstatus": 0,
"doctype": "Sidebar",
"header_icon": "file-code",
"idx": 0,
"items": [
{
"added": 0,
"child": 0,
"collapsible": 1,
"hidden": 0,
"indent": 0,
"is_default_module": 0,
"keep_closed": 0,
"label": "Code List",
"link_to": "Code List",
"link_type": "DocType",
"open_in_new_tab": 1,
"show_arrow": 0,
"type": "Link"
},
{
"added": 0,
"child": 0,
"collapsible": 1,
"hidden": 0,
"indent": 0,
"is_default_module": 0,
"keep_closed": 0,
"label": "Common Code",
"link_to": "Common Code",
"link_type": "DocType",
"open_in_new_tab": 1,
"show_arrow": 0,
"type": "Link"
}
],
"modified": "2026-08-16 00:00:00.000000",
"modified_by": "Administrator",
"module": "EDI",
"name": "EDI",
"owner": "Administrator",
"sequence_id": 0.0,
"standard": 1,
"title": "EDI"
}

View File

@@ -21,9 +21,101 @@
"open_in_new_tab": 1,
"show_arrow": 0,
"type": "Link"
},
{
"added": 0,
"child": 0,
"collapsible": 1,
"hidden": 0,
"icon": "phone",
"indent": 1,
"is_default_module": 0,
"keep_closed": 0,
"label": "Telephony",
"link_type": "DocType",
"open_in_new_tab": 0,
"show_arrow": 0,
"type": "Section Break"
},
{
"added": 0,
"child": 1,
"collapsible": 1,
"hidden": 0,
"icon": "settings",
"indent": 0,
"is_default_module": 0,
"keep_closed": 0,
"label": "Incoming Call Settings",
"link_to": "Incoming Call Settings",
"link_type": "DocType",
"open_in_new_tab": 1,
"show_arrow": 0,
"type": "Link"
},
{
"added": 0,
"child": 1,
"collapsible": 1,
"hidden": 0,
"icon": "settings",
"indent": 0,
"is_default_module": 0,
"keep_closed": 0,
"label": "Voice Call Settings",
"link_to": "Voice Call Settings",
"link_type": "DocType",
"open_in_new_tab": 1,
"show_arrow": 0,
"type": "Link"
},
{
"added": 0,
"child": 1,
"collapsible": 1,
"hidden": 0,
"indent": 0,
"is_default_module": 0,
"keep_closed": 0,
"label": "Call Log",
"link_to": "Call Log",
"link_type": "DocType",
"open_in_new_tab": 1,
"show_arrow": 0,
"type": "Link"
},
{
"added": 0,
"child": 1,
"collapsible": 1,
"hidden": 0,
"indent": 0,
"is_default_module": 0,
"keep_closed": 0,
"label": "Telephony Call Type",
"link_to": "Telephony Call Type",
"link_type": "DocType",
"open_in_new_tab": 1,
"show_arrow": 0,
"type": "Link"
},
{
"added": 0,
"child": 1,
"collapsible": 1,
"hidden": 0,
"indent": 0,
"is_default_module": 0,
"keep_closed": 0,
"label": "Communication Medium",
"link_to": "Communication Medium",
"link_type": "DocType",
"open_in_new_tab": 1,
"show_arrow": 0,
"type": "Link"
}
],
"modified": "2026-08-16 00:00:00.000000",
"modified": "2026-09-02 14:58:17.082794",
"modified_by": "Administrator",
"module": "ERPNext Integrations",
"name": "ERPNext Integrations",

View File

@@ -21,6 +21,23 @@ add_to_apps_screen = [
}
]
# Modules that are a folder of code and nothing else. Their doctypes, reports and controllers stay
# where they are; what they no longer own is navigation, which now sits in the sidebar named beside
# each. Left in the dock, each would carry an entry of its own for two to four records. See
# `frappe.utils.modules.get_code_only_modules`.
#
# The value names the modules that inherited that navigation, so a Call Log or a Code List resolves
# to a sidebar the user can actually navigate to instead of dead-ending in a module the dock never
# shows.
code_only_modules = {
"Telephony": ["ERPNext Integrations"],
# Its one doctype, Communication Medium, describes how a call reaches someone, so it sits in
# the Telephony section beside the call settings rather than in a shell of its own.
"Communication": ["ERPNext Integrations"],
"EDI": ["Utilities"],
"Bulk Transaction": ["Utilities"],
}
develop_version = "17.x.x-develop"
app_include_js = "erpnext.bundle.js"

View File

@@ -1,6 +1,6 @@
{
"app": "erpnext",
"creation": "2026-08-16 00:00:00.000000",
"creation": "2026-08-16 00:00:00",
"docstatus": 0,
"doctype": "Sidebar",
"header_icon": "wrench",
@@ -41,7 +41,7 @@
"child": 0,
"collapsible": 1,
"hidden": 0,
"indent": 0,
"indent": 1,
"is_default_module": 0,
"keep_closed": 0,
"label": "Reports",
@@ -67,12 +67,11 @@
"type": "Link"
}
],
"modified": "2026-08-16 00:00:00.000000",
"modified": "2026-09-01 19:30:16.713938",
"modified_by": "Administrator",
"module": "Maintenance",
"name": "Maintenance",
"owner": "Administrator",
"sequence_id": 0.0,
"standard": 1,
"title": "Maintenance"
}

View File

@@ -1,6 +1,6 @@
{
"app": "erpnext",
"creation": "2026-08-16 00:00:00.000000",
"creation": "2026-08-16 00:00:00",
"docstatus": 0,
"doctype": "Sidebar",
"header_icon": "globe",
@@ -21,22 +21,6 @@
"show_arrow": 0,
"type": "Link"
},
{
"added": 0,
"child": 0,
"collapsible": 1,
"hidden": 0,
"icon": "settings",
"indent": 0,
"is_default_module": 0,
"keep_closed": 0,
"label": "UAE VAT Settings",
"link_to": "UAE VAT Settings",
"link_type": "DocType",
"open_in_new_tab": 1,
"show_arrow": 0,
"type": "Link"
},
{
"added": 0,
"child": 0,
@@ -58,7 +42,7 @@
"child": 0,
"collapsible": 1,
"hidden": 0,
"indent": 0,
"indent": 1,
"is_default_module": 0,
"keep_closed": 0,
"label": "Reports",
@@ -132,12 +116,11 @@
"type": "Link"
}
],
"modified": "2026-08-16 00:00:00.000000",
"modified": "2026-09-01 17:54:06.004401",
"modified_by": "Administrator",
"module": "Regional",
"name": "Regional",
"owner": "Administrator",
"sequence_id": 0.0,
"standard": 1,
"title": "Regional"
}

View File

@@ -1,6 +1,6 @@
{
"app": "erpnext",
"creation": "2026-08-16 00:00:00.000000",
"creation": "2026-08-16 00:00:00",
"docstatus": 0,
"doctype": "Sidebar",
"header_icon": "sliders-horizontal",
@@ -419,9 +419,9 @@
"child": 0,
"collapsible": 1,
"hidden": 0,
"indent": 0,
"indent": 1,
"is_default_module": 0,
"keep_closed": 1,
"keep_closed": 0,
"label": "Home",
"link_type": "DocType",
"open_in_new_tab": 1,
@@ -504,12 +504,11 @@
"type": "Link"
}
],
"modified": "2026-08-16 00:00:00.000000",
"modified": "2026-09-01 17:52:52.506437",
"modified_by": "Administrator",
"module": "Setup",
"name": "Setup",
"owner": "Administrator",
"sequence_id": 0.0,
"standard": 1,
"title": "Setup"
}

View File

@@ -1,80 +0,0 @@
{
"app": "erpnext",
"creation": "2026-08-16 00:00:00.000000",
"docstatus": 0,
"doctype": "Sidebar",
"header_icon": "phone",
"idx": 0,
"items": [
{
"added": 0,
"child": 0,
"collapsible": 1,
"hidden": 0,
"icon": "settings",
"indent": 0,
"is_default_module": 0,
"keep_closed": 0,
"label": "Incoming Call Settings",
"link_to": "Incoming Call Settings",
"link_type": "DocType",
"open_in_new_tab": 1,
"show_arrow": 0,
"type": "Link"
},
{
"added": 0,
"child": 0,
"collapsible": 1,
"hidden": 0,
"icon": "settings",
"indent": 0,
"is_default_module": 0,
"keep_closed": 0,
"label": "Voice Call Settings",
"link_to": "Voice Call Settings",
"link_type": "DocType",
"open_in_new_tab": 1,
"show_arrow": 0,
"type": "Link"
},
{
"added": 0,
"child": 0,
"collapsible": 1,
"hidden": 0,
"indent": 0,
"is_default_module": 0,
"keep_closed": 0,
"label": "Call Log",
"link_to": "Call Log",
"link_type": "DocType",
"open_in_new_tab": 1,
"show_arrow": 0,
"type": "Link"
},
{
"added": 0,
"child": 0,
"collapsible": 1,
"hidden": 0,
"indent": 0,
"is_default_module": 0,
"keep_closed": 0,
"label": "Telephony Call Type",
"link_to": "Telephony Call Type",
"link_type": "DocType",
"open_in_new_tab": 1,
"show_arrow": 0,
"type": "Link"
}
],
"modified": "2026-08-16 00:00:00.000000",
"modified_by": "Administrator",
"module": "Telephony",
"name": "Telephony",
"owner": "Administrator",
"sequence_id": 0.0,
"standard": 1,
"title": "Telephony"
}

View File

@@ -1,6 +1,6 @@
{
"app": "erpnext",
"creation": "2026-08-16 00:00:00.000000",
"creation": "2026-09-02 03:16:19.632349",
"docstatus": 0,
"doctype": "Sidebar",
"header_icon": "pocket-knife",
@@ -26,6 +26,110 @@
"child": 0,
"collapsible": 1,
"hidden": 0,
"icon": "file-code",
"indent": 1,
"is_default_module": 0,
"keep_closed": 0,
"label": "EDI",
"link_type": "DocType",
"open_in_new_tab": 0,
"show_arrow": 0,
"type": "Section Break"
},
{
"added": 0,
"child": 1,
"collapsible": 1,
"hidden": 0,
"indent": 0,
"is_default_module": 0,
"keep_closed": 0,
"label": "Code List",
"link_to": "Code List",
"link_type": "DocType",
"open_in_new_tab": 1,
"show_arrow": 0,
"type": "Link"
},
{
"added": 0,
"child": 1,
"collapsible": 1,
"hidden": 0,
"indent": 0,
"is_default_module": 0,
"keep_closed": 0,
"label": "Common Code",
"link_to": "Common Code",
"link_type": "DocType",
"open_in_new_tab": 1,
"show_arrow": 0,
"type": "Link"
},
{
"added": 0,
"child": 0,
"collapsible": 1,
"hidden": 0,
"icon": "layers",
"indent": 1,
"is_default_module": 0,
"keep_closed": 0,
"label": "Bulk Transaction",
"link_type": "DocType",
"open_in_new_tab": 0,
"show_arrow": 0,
"type": "Section Break"
},
{
"added": 0,
"child": 1,
"collapsible": 1,
"hidden": 0,
"indent": 0,
"is_default_module": 0,
"keep_closed": 0,
"label": "Bulk Transaction Log Detail",
"link_to": "Bulk Transaction Log Detail",
"link_type": "DocType",
"open_in_new_tab": 1,
"show_arrow": 0,
"type": "Link"
},
{
"added": 0,
"child": 1,
"collapsible": 1,
"hidden": 0,
"indent": 0,
"is_default_module": 0,
"keep_closed": 0,
"label": "Bulk Transaction Log",
"link_to": "Bulk Transaction Log",
"link_type": "DocType",
"open_in_new_tab": 1,
"show_arrow": 0,
"type": "Link"
},
{
"added": 0,
"child": 0,
"collapsible": 1,
"hidden": 0,
"indent": 1,
"is_default_module": 0,
"keep_closed": 0,
"label": "Video",
"link_type": "DocType",
"open_in_new_tab": 1,
"show_arrow": 0,
"type": "Section Break"
},
{
"added": 0,
"child": 1,
"collapsible": 1,
"hidden": 0,
"indent": 0,
"is_default_module": 0,
"keep_closed": 0,
@@ -38,7 +142,7 @@
},
{
"added": 0,
"child": 0,
"child": 1,
"collapsible": 1,
"hidden": 0,
"icon": "settings",
@@ -52,20 +156,6 @@
"show_arrow": 0,
"type": "Link"
},
{
"added": 0,
"child": 0,
"collapsible": 1,
"hidden": 0,
"indent": 0,
"is_default_module": 0,
"keep_closed": 0,
"label": "Reports",
"link_type": "DocType",
"open_in_new_tab": 1,
"show_arrow": 0,
"type": "Section Break"
},
{
"added": 0,
"child": 1,
@@ -83,12 +173,11 @@
"type": "Link"
}
],
"modified": "2026-08-16 00:00:00.000000",
"modified": "2026-09-02 03:26:54.027941",
"modified_by": "Administrator",
"module": "Utilities",
"name": "Utilities",
"owner": "Administrator",
"sequence_id": 0.0,
"standard": 1,
"title": "Utilities"
}