Files
erpnext/erpnext/sidebar/module_def_accounts/module_def_accounts.json
shariquerik 9551f213ae feat(desk-v2): ship ERPNext's module-primary rail and its module sidebars
The module-primary half of frappe/frappe#42226's charter point 2, opposite CRM's
doctype-primary rail: the same table, the same resolver and the same item kinds,
with modules as the rail's primary items.

One `Rail` record of 20 items -- 18 `Sidebar` items over a module sidebar each,
and two `Module` items for the modules whose sidebar would hold one row or none.
The sidebars are authored, not derived: the module *page* keeps deriving from
module contents and the two lists differ on purpose, which is what desk v1's own
curation already says -- 107 doctypes sit on a module page and not in that
module's sidebar, and 101 sidebar links point outside their module.

The rows are converted from desk v1's module sidebars, which stay untouched and
keep serving v1. 486 v1 rows become 317: `Report`, `Dashboard`, `Workspace` and
`Page` items have no desk v2 destination and are not authored, headings left
over nothing are dropped, and two duplicate rows in Accounts go. `Portal` is on
v1's dock and is not authored at all -- it holds no doctypes, so it has neither
a sidebar to open nor a module page to land on.

ERPNext ships no navigation code: the rows arrive through `sync_for`'s
app-rooted walk at migrate.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-02 19:20:00 +05:30

941 lines
20 KiB
JSON

{
"app": "erpnext",
"creation": "2026-09-02 22:15:00.000000",
"docstatus": 0,
"doctype": "Sidebar",
"idx": 0,
"items": [],
"link_doctype": "Module Def",
"link_to": "Accounts",
"modified": "2026-09-02 22:15:00.000000",
"modified_by": "Administrator",
"name": "module_def_accounts",
"navigation_items": [
{
"added": 0,
"collapsible": 1,
"hidden": 0,
"item_type": "Section",
"keep_closed": 0,
"key": "section-setup",
"label": "Setup",
"link_doctype": "",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "account",
"label": "Chart of Accounts",
"link_doctype": "DocType",
"link_to": "Account",
"parent_key": "section-setup",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "cost-center",
"label": "Chart of Cost Centers",
"link_doctype": "DocType",
"link_to": "Cost Center",
"parent_key": "section-setup",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "account-category",
"label": "Account Category",
"link_doctype": "DocType",
"link_to": "Account Category",
"parent_key": "section-setup",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "accounting-dimension",
"label": "Accounting Dimension",
"link_doctype": "DocType",
"link_to": "Accounting Dimension",
"parent_key": "section-setup",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "currency",
"label": "Currency",
"link_doctype": "DocType",
"link_to": "Currency",
"parent_key": "section-setup",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "currency-exchange",
"label": "Currency Exchange",
"link_doctype": "DocType",
"link_to": "Currency Exchange",
"parent_key": "section-setup",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "finance-book",
"label": "Finance Book",
"link_doctype": "DocType",
"link_to": "Finance Book",
"parent_key": "section-setup",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "mode-of-payment",
"label": "Mode of Payment",
"link_doctype": "DocType",
"link_to": "Mode of Payment",
"parent_key": "section-setup",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "payment-term",
"label": "Payment Term",
"link_doctype": "DocType",
"link_to": "Payment Term",
"parent_key": "section-setup",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "journal-entry-template",
"label": "Journal Entry Template",
"link_doctype": "DocType",
"link_to": "Journal Entry Template",
"parent_key": "section-setup",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "terms-and-conditions",
"label": "Terms and Conditions",
"link_doctype": "DocType",
"link_to": "Terms and Conditions",
"parent_key": "section-setup",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "company",
"label": "Company",
"link_doctype": "DocType",
"link_to": "Company",
"parent_key": "section-setup",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "fiscal-year",
"label": "Fiscal Year",
"link_doctype": "DocType",
"link_to": "Fiscal Year",
"parent_key": "section-setup",
"switches_app": 0
},
{
"added": 0,
"collapsible": 1,
"hidden": 0,
"item_type": "Section",
"keep_closed": 1,
"key": "section-opening-closing",
"label": "Opening & Closing",
"link_doctype": "",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "chart-of-accounts-importer",
"label": "COA Importer",
"link_doctype": "DocType",
"link_to": "Chart of Accounts Importer",
"parent_key": "section-opening-closing",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "opening-invoice-creation-tool",
"label": "Opening Invoice Tool",
"link_doctype": "DocType",
"link_to": "Opening Invoice Creation Tool",
"parent_key": "section-opening-closing",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "accounting-period",
"label": "Accounting Period",
"link_doctype": "DocType",
"link_to": "Accounting Period",
"parent_key": "section-opening-closing",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "exchange-rate-revaluation",
"label": "FX Revaluation",
"link_doctype": "DocType",
"link_to": "Exchange Rate Revaluation",
"parent_key": "section-opening-closing",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "period-closing-voucher",
"label": "Period Closing Voucher",
"link_doctype": "DocType",
"link_to": "Period Closing Voucher",
"parent_key": "section-opening-closing",
"switches_app": 0
},
{
"added": 0,
"collapsible": 1,
"hidden": 0,
"item_type": "Section",
"keep_closed": 1,
"key": "section-taxes",
"label": "Taxes",
"link_doctype": "",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "sales-taxes-and-charges-template",
"label": "Sales Tax Template",
"link_doctype": "DocType",
"link_to": "Sales Taxes and Charges Template",
"parent_key": "section-taxes",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "purchase-taxes-and-charges-template",
"label": "Purchase Tax Template",
"link_doctype": "DocType",
"link_to": "Purchase Taxes and Charges Template",
"parent_key": "section-taxes",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "item-tax-template",
"label": "Item Tax Template",
"link_doctype": "DocType",
"link_to": "Item Tax Template",
"parent_key": "section-taxes",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "tax-category",
"label": "Tax Category",
"link_doctype": "DocType",
"link_to": "Tax Category",
"parent_key": "section-taxes",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "tax-rule",
"label": "Tax Rule",
"link_doctype": "DocType",
"link_to": "Tax Rule",
"parent_key": "section-taxes",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "tax-withholding-category",
"label": "Tax Withholding Category",
"link_doctype": "DocType",
"link_to": "Tax Withholding Category",
"parent_key": "section-taxes",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "tax-withholding-group",
"label": "Tax Withholding Group",
"link_doctype": "DocType",
"link_to": "Tax Withholding Group",
"parent_key": "section-taxes",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "lower-deduction-certificate",
"label": "Deduction Certificate",
"link_doctype": "DocType",
"link_to": "Lower Deduction Certificate",
"parent_key": "section-taxes",
"switches_app": 0
},
{
"added": 0,
"collapsible": 1,
"hidden": 0,
"item_type": "Section",
"keep_closed": 1,
"key": "section-budgeting",
"label": "Budgeting",
"link_doctype": "",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "budget",
"label": "Budget",
"link_doctype": "DocType",
"link_to": "Budget",
"parent_key": "section-budgeting",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "cost-center-allocation",
"label": "Cost Center Allocation",
"link_doctype": "DocType",
"link_to": "Cost Center Allocation",
"parent_key": "section-budgeting",
"switches_app": 0
},
{
"added": 0,
"collapsible": 1,
"hidden": 0,
"item_type": "Section",
"keep_closed": 1,
"key": "section-share-management",
"label": "Share Management",
"link_doctype": "",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "shareholder",
"label": "Shareholder",
"link_doctype": "DocType",
"link_to": "Shareholder",
"parent_key": "section-share-management",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "share-transfer",
"label": "Share Transfer",
"link_doctype": "DocType",
"link_to": "Share Transfer",
"parent_key": "section-share-management",
"switches_app": 0
},
{
"added": 0,
"collapsible": 1,
"hidden": 0,
"item_type": "Section",
"keep_closed": 1,
"key": "section-subscriptions",
"label": "Subscriptions",
"link_doctype": "",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "subscription",
"label": "Subscription",
"link_doctype": "DocType",
"link_to": "Subscription",
"parent_key": "section-subscriptions",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "subscription-plan",
"label": "Subscription Plan",
"link_doctype": "DocType",
"link_to": "Subscription Plan",
"parent_key": "section-subscriptions",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "subscription-settings",
"label": "Subscription Settings",
"link_doctype": "DocType",
"link_to": "Subscription Settings",
"parent_key": "section-subscriptions",
"switches_app": 0
},
{
"added": 0,
"collapsible": 1,
"hidden": 0,
"item_type": "Section",
"keep_closed": 1,
"key": "section-settings",
"label": "Settings",
"link_doctype": "",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "accounts-settings",
"label": "Accounts Settings",
"link_doctype": "DocType",
"link_to": "Accounts Settings",
"parent_key": "section-settings",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "currency-exchange-settings",
"label": "Currency Exchange Settings",
"link_doctype": "DocType",
"link_to": "Currency Exchange Settings",
"parent_key": "section-settings",
"switches_app": 0
},
{
"added": 0,
"collapsible": 1,
"hidden": 0,
"item_type": "Section",
"keep_closed": 0,
"key": "section-receivables",
"label": "Receivables",
"link_doctype": "",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "customer",
"label": "Customer",
"link_doctype": "DocType",
"link_to": "Customer",
"parent_key": "section-receivables",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "sales-invoice",
"label": "Sales Invoice",
"link_doctype": "DocType",
"link_to": "Sales Invoice",
"parent_key": "section-receivables",
"switches_app": 0
},
{
"added": 0,
"collapsible": 1,
"hidden": 0,
"item_type": "Section",
"keep_closed": 0,
"key": "section-payables",
"label": "Payables",
"link_doctype": "",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "supplier",
"label": "Supplier",
"link_doctype": "DocType",
"link_to": "Supplier",
"parent_key": "section-payables",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "purchase-invoice",
"label": "Purchase Invoice",
"link_doctype": "DocType",
"link_to": "Purchase Invoice",
"parent_key": "section-payables",
"switches_app": 0
},
{
"added": 0,
"collapsible": 1,
"hidden": 0,
"item_type": "Section",
"keep_closed": 0,
"key": "section-payments",
"label": "Payments",
"link_doctype": "",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "payment-entry",
"label": "Payment Entry",
"link_doctype": "DocType",
"link_to": "Payment Entry",
"parent_key": "section-payments",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "journal-entry",
"label": "Journal Entry",
"link_doctype": "DocType",
"link_to": "Journal Entry",
"parent_key": "section-payments",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "payment-request",
"label": "Payment Request",
"link_doctype": "DocType",
"link_to": "Payment Request",
"parent_key": "section-payments",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "payment-order",
"label": "Payment Order",
"link_doctype": "DocType",
"link_to": "Payment Order",
"parent_key": "section-payments",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "payment-reconciliation",
"label": "Payment Reconciliation",
"link_doctype": "DocType",
"link_to": "Payment Reconciliation",
"parent_key": "section-payments",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "unreconcile-payment",
"label": "Unreconcile Payment",
"link_doctype": "DocType",
"link_to": "Unreconcile Payment",
"parent_key": "section-payments",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "process-payment-reconciliation",
"label": "Process Payment Reconciliation",
"link_doctype": "DocType",
"link_to": "Process Payment Reconciliation",
"parent_key": "section-payments",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "repost-accounting-ledger",
"label": "Repost Accounting Ledger",
"link_doctype": "DocType",
"link_to": "Repost Accounting Ledger",
"parent_key": "section-payments",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "repost-payment-ledger",
"label": "Repost Payment Ledger",
"link_doctype": "DocType",
"link_to": "Repost Payment Ledger",
"parent_key": "section-payments",
"switches_app": 0
},
{
"added": 0,
"collapsible": 1,
"hidden": 0,
"item_type": "Section",
"keep_closed": 0,
"key": "section-banking",
"label": "Banking",
"link_doctype": "",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "bank-clearance",
"label": "Bank Clearance",
"link_doctype": "DocType",
"link_to": "Bank Clearance",
"parent_key": "section-banking",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "bank-reconciliation-tool",
"label": "Bank Reconciliation",
"link_doctype": "DocType",
"link_to": "Bank Reconciliation Tool",
"parent_key": "section-banking",
"switches_app": 0
},
{
"added": 0,
"collapsible": 1,
"hidden": 0,
"item_type": "Section",
"keep_closed": 1,
"key": "section-banking-setup",
"label": "Banking Setup",
"link_doctype": "",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "bank",
"label": "Bank",
"link_doctype": "DocType",
"link_to": "Bank",
"parent_key": "section-banking-setup",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "bank-account",
"label": "Bank Account",
"link_doctype": "DocType",
"link_to": "Bank Account",
"parent_key": "section-banking-setup",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "bank-account-type",
"label": "Bank Account Type",
"link_doctype": "DocType",
"link_to": "Bank Account Type",
"parent_key": "section-banking-setup",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "bank-account-subtype",
"label": "Bank Account Subtype",
"link_doctype": "DocType",
"link_to": "Bank Account Subtype",
"parent_key": "section-banking-setup",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "bank-guarantee",
"label": "Bank Guarantee",
"link_doctype": "DocType",
"link_to": "Bank Guarantee",
"parent_key": "section-banking-setup",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "plaid-settings",
"label": "Plaid Settings",
"link_doctype": "DocType",
"link_to": "Plaid Settings",
"parent_key": "section-banking-setup",
"switches_app": 0
},
{
"added": 0,
"collapsible": 1,
"hidden": 0,
"item_type": "Section",
"keep_closed": 1,
"key": "section-dunning",
"label": "Dunning",
"link_doctype": "",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "dunning",
"label": "Dunning",
"link_doctype": "DocType",
"link_to": "Dunning",
"parent_key": "section-dunning",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "dunning-type",
"label": "Dunning Type",
"link_doctype": "DocType",
"link_to": "Dunning Type",
"parent_key": "section-dunning",
"switches_app": 0
},
{
"added": 0,
"collapsible": 1,
"hidden": 0,
"item_type": "Section",
"keep_closed": 0,
"key": "section-financial-reports",
"label": "Financial Reports",
"link_doctype": "",
"switches_app": 0
},
{
"added": 0,
"collapsible": 0,
"hidden": 0,
"item_type": "DocType",
"keep_closed": 0,
"key": "financial-report-template",
"label": "Financial Report Template",
"link_doctype": "DocType",
"link_to": "Financial Report Template",
"parent_key": "section-financial-reports",
"switches_app": 0
}
],
"owner": "Administrator",
"standard": 1,
"title": "Accounts",
"user": ""
}