From e8777d4f723284fc17246ac87eeb6621070ba2c1 Mon Sep 17 00:00:00 2001 From: ruthra kumar Date: Tue, 23 Dec 2025 15:56:27 +0530 Subject: [PATCH] refactor: remove workspace for receivable and payable --- .../accounts/workspace/payables/payables.json | 204 -------------- .../workspace/receivables/receivables.json | 254 ------------------ erpnext/workspace_sidebar/payables.json | 88 ------ erpnext/workspace_sidebar/receivables.json | 99 ------- 4 files changed, 645 deletions(-) delete mode 100644 erpnext/accounts/workspace/payables/payables.json delete mode 100644 erpnext/accounts/workspace/receivables/receivables.json delete mode 100644 erpnext/workspace_sidebar/payables.json delete mode 100644 erpnext/workspace_sidebar/receivables.json diff --git a/erpnext/accounts/workspace/payables/payables.json b/erpnext/accounts/workspace/payables/payables.json deleted file mode 100644 index 96c626c7291..00000000000 --- a/erpnext/accounts/workspace/payables/payables.json +++ /dev/null @@ -1,204 +0,0 @@ -{ - "charts": [], - "content": "[{\"id\":\"rMMsfn2eB4\",\"type\":\"header\",\"data\":{\"text\":\"Shortcuts\",\"col\":12}},{\"id\":\"G984SgVRJN\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Purchase Invoice\",\"col\":3}},{\"id\":\"F9f4I1viNr\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Payment Entry\",\"col\":3}},{\"id\":\"1ArNvt9qhz\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Journal Entry\",\"col\":3}},{\"id\":\"4IBBOIxfqW\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Accounts Payable\",\"col\":3}},{\"id\":\"B7-uxs8tkU\",\"type\":\"spacer\",\"data\":{\"col\":12}},{\"id\":\"jAcOH-cC-Q\",\"type\":\"header\",\"data\":{\"text\":\"Reports & Masters\",\"col\":12}},{\"id\":\"7dj93PEUjW\",\"type\":\"card\",\"data\":{\"card_name\":\"Invoicing\",\"col\":4}},{\"id\":\"_Cb7C8XdJJ\",\"type\":\"card\",\"data\":{\"card_name\":\"Payments\",\"col\":4}},{\"id\":\"9yseIkdG50\",\"type\":\"card\",\"data\":{\"card_name\":\"Reports\",\"col\":4}}]", - "creation": "2024-01-05 15:29:11.144373", - "custom_blocks": [], - "docstatus": 0, - "doctype": "Workspace", - "for_user": "", - "hide_custom": 0, - "icon": "arrow-left", - "idx": 0, - "indicator_color": "", - "is_hidden": 0, - "label": "Payables", - "links": [ - { - "hidden": 0, - "is_query_report": 0, - "label": "Invoicing", - "link_count": 2, - "link_type": "DocType", - "onboard": 0, - "type": "Card Break" - }, - { - "hidden": 0, - "is_query_report": 0, - "label": "Purchase Invoice", - "link_count": 0, - "link_to": "Purchase Invoice", - "link_type": "DocType", - "onboard": 0, - "type": "Link" - }, - { - "hidden": 0, - "is_query_report": 0, - "label": "Supplier", - "link_count": 0, - "link_to": "Supplier", - "link_type": "DocType", - "onboard": 0, - "type": "Link" - }, - { - "hidden": 0, - "is_query_report": 0, - "label": "Payments", - "link_count": 3, - "link_type": "DocType", - "onboard": 0, - "type": "Card Break" - }, - { - "dependencies": "", - "hidden": 0, - "is_query_report": 0, - "label": "Payment Entry", - "link_count": 0, - "link_to": "Payment Entry", - "link_type": "DocType", - "onboard": 0, - "type": "Link" - }, - { - "hidden": 0, - "is_query_report": 0, - "label": "Journal Entry", - "link_count": 0, - "link_to": "Journal Entry", - "link_type": "DocType", - "onboard": 0, - "type": "Link" - }, - { - "hidden": 0, - "is_query_report": 0, - "label": "Payment Reconciliation", - "link_count": 0, - "link_to": "Payment Reconciliation", - "link_type": "DocType", - "onboard": 0, - "type": "Link" - }, - { - "hidden": 0, - "is_query_report": 0, - "label": "Reports", - "link_count": 7, - "link_type": "DocType", - "onboard": 0, - "type": "Card Break" - }, - { - "hidden": 0, - "is_query_report": 1, - "label": "Accounts Payable", - "link_count": 0, - "link_to": "Accounts Payable", - "link_type": "Report", - "onboard": 0, - "type": "Link" - }, - { - "hidden": 0, - "is_query_report": 1, - "label": "Accounts Payable Summary", - "link_count": 0, - "link_to": "Accounts Payable Summary", - "link_type": "Report", - "onboard": 0, - "type": "Link" - }, - { - "hidden": 0, - "is_query_report": 1, - "label": "Purchase Register", - "link_count": 0, - "link_to": "Purchase Register", - "link_type": "Report", - "onboard": 0, - "type": "Link" - }, - { - "hidden": 0, - "is_query_report": 1, - "label": "Item-wise Purchase Register", - "link_count": 0, - "link_to": "Item-wise Purchase Register", - "link_type": "Report", - "onboard": 0, - "type": "Link" - }, - { - "hidden": 0, - "is_query_report": 1, - "label": "Purchase Order Analysis", - "link_count": 0, - "link_to": "Purchase Order Analysis", - "link_type": "Report", - "onboard": 0, - "type": "Link" - }, - { - "hidden": 0, - "is_query_report": 1, - "label": "Received Items To Be Billed", - "link_count": 0, - "link_to": "Received Items To Be Billed", - "link_type": "Report", - "onboard": 0, - "type": "Link" - }, - { - "hidden": 0, - "is_query_report": 1, - "label": "Supplier Ledger Summary", - "link_count": 0, - "link_to": "Supplier Ledger Summary", - "link_type": "Report", - "onboard": 0, - "type": "Link" - } - ], - "modified": "2024-01-18 22:09:46.221549", - "modified_by": "Administrator", - "module": "Accounts", - "name": "Payables", - "number_cards": [], - "owner": "Administrator", - "parent_page": "Accounting", - "public": 1, - "quick_lists": [], - "restrict_to_domain": "", - "roles": [], - "sequence_id": 3.0, - "shortcuts": [ - { - "doc_view": "", - "label": "Accounts Payable", - "link_to": "Accounts Payable", - "type": "Report" - }, - { - "doc_view": "", - "label": "Purchase Invoice", - "link_to": "Purchase Invoice", - "type": "DocType" - }, - { - "doc_view": "", - "label": "Journal Entry", - "link_to": "Journal Entry", - "type": "DocType" - }, - { - "doc_view": "", - "label": "Payment Entry", - "link_to": "Payment Entry", - "type": "DocType" - } - ], - "title": "Payables" -} \ No newline at end of file diff --git a/erpnext/accounts/workspace/receivables/receivables.json b/erpnext/accounts/workspace/receivables/receivables.json deleted file mode 100644 index 6fa8c099a46..00000000000 --- a/erpnext/accounts/workspace/receivables/receivables.json +++ /dev/null @@ -1,254 +0,0 @@ -{ - "charts": [], - "content": "[{\"id\":\"vikWSkNm6_\",\"type\":\"header\",\"data\":{\"text\":\"Shortcuts\",\"col\":12}},{\"id\":\"G984SgVRJN\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Sales Invoice\",\"col\":3}},{\"id\":\"5yHldR0JNk\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"POS Invoice\",\"col\":3}},{\"id\":\"F9f4I1viNr\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Payment Entry\",\"col\":3}},{\"id\":\"1ArNvt9qhz\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Journal Entry\",\"col\":3}},{\"id\":\"4IBBOIxfqW\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Accounts Receivable\",\"col\":3}},{\"id\":\"ILlIxJuexy\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Cost Center\",\"col\":3}},{\"id\":\"B7-uxs8tkU\",\"type\":\"spacer\",\"data\":{\"col\":12}},{\"id\":\"tHb3yxthkR\",\"type\":\"header\",\"data\":{\"text\":\"Reports & Masters\",\"col\":12}},{\"id\":\"jLgv00c6ek\",\"type\":\"card\",\"data\":{\"card_name\":\"Invoicing\",\"col\":4}},{\"id\":\"npwfXlz0u1\",\"type\":\"card\",\"data\":{\"card_name\":\"Payments\",\"col\":4}},{\"id\":\"am70C27Jrb\",\"type\":\"card\",\"data\":{\"card_name\":\"Dunning\",\"col\":4}},{\"id\":\"xOHTyD8b5l\",\"type\":\"card\",\"data\":{\"card_name\":\"Reports\",\"col\":4}}]", - "creation": "2024-01-05 15:29:21.084241", - "custom_blocks": [], - "docstatus": 0, - "doctype": "Workspace", - "for_user": "", - "hide_custom": 0, - "icon": "arrow-right", - "idx": 0, - "indicator_color": "", - "is_hidden": 0, - "label": "Receivables", - "links": [ - { - "hidden": 0, - "is_query_report": 0, - "label": "Invoicing", - "link_count": 2, - "link_type": "DocType", - "onboard": 0, - "type": "Card Break" - }, - { - "hidden": 0, - "is_query_report": 0, - "label": "Sales Invoice", - "link_count": 0, - "link_to": "Sales Invoice", - "link_type": "DocType", - "onboard": 0, - "type": "Link" - }, - { - "hidden": 0, - "is_query_report": 0, - "label": "Customer", - "link_count": 0, - "link_to": "Customer", - "link_type": "DocType", - "onboard": 0, - "type": "Link" - }, - { - "hidden": 0, - "is_query_report": 0, - "label": "Payments", - "link_count": 4, - "link_type": "DocType", - "onboard": 0, - "type": "Card Break" - }, - { - "hidden": 0, - "is_query_report": 0, - "label": "Payment Entry", - "link_count": 0, - "link_to": "Payment Entry", - "link_type": "DocType", - "onboard": 0, - "type": "Link" - }, - { - "hidden": 0, - "is_query_report": 0, - "label": "Payment Request", - "link_count": 0, - "link_to": "Payment Request", - "link_type": "DocType", - "onboard": 0, - "type": "Link" - }, - { - "hidden": 0, - "is_query_report": 0, - "label": "Payment Reconciliation", - "link_count": 0, - "link_to": "Payment Reconciliation", - "link_type": "DocType", - "onboard": 0, - "type": "Link" - }, - { - "hidden": 0, - "is_query_report": 0, - "label": "Payment Gateway Account", - "link_count": 0, - "link_to": "Payment Gateway Account", - "link_type": "DocType", - "onboard": 0, - "type": "Link" - }, - { - "hidden": 0, - "is_query_report": 0, - "label": "Dunning", - "link_count": 2, - "link_type": "DocType", - "onboard": 0, - "type": "Card Break" - }, - { - "hidden": 0, - "is_query_report": 0, - "label": "Dunning", - "link_count": 0, - "link_to": "Dunning", - "link_type": "DocType", - "onboard": 0, - "type": "Link" - }, - { - "hidden": 0, - "is_query_report": 0, - "label": "Dunning Type", - "link_count": 0, - "link_to": "Dunning Type", - "link_type": "DocType", - "onboard": 0, - "type": "Link" - }, - { - "hidden": 0, - "is_query_report": 0, - "label": "Reports", - "link_count": 6, - "link_type": "DocType", - "onboard": 0, - "type": "Card Break" - }, - { - "dependencies": "Sales Invoice", - "hidden": 0, - "is_query_report": 1, - "label": "Accounts Receivable", - "link_count": 0, - "link_to": "Accounts Receivable", - "link_type": "Report", - "onboard": 0, - "type": "Link" - }, - { - "dependencies": "Sales Invoice", - "hidden": 0, - "is_query_report": 1, - "label": "Accounts Receivable Summary", - "link_count": 0, - "link_to": "Accounts Receivable Summary", - "link_type": "Report", - "onboard": 0, - "type": "Link" - }, - { - "dependencies": "Sales Invoice", - "hidden": 0, - "is_query_report": 1, - "label": "Sales Register", - "link_count": 0, - "link_to": "Sales Register", - "link_type": "Report", - "onboard": 0, - "type": "Link" - }, - { - "dependencies": "Sales Invoice", - "hidden": 0, - "is_query_report": 1, - "label": "Item-wise Sales Register", - "link_count": 0, - "link_to": "Item-wise Sales Register", - "link_type": "Report", - "onboard": 0, - "type": "Link" - }, - { - "dependencies": "Sales Invoice", - "hidden": 0, - "is_query_report": 1, - "label": "Sales Order Analysis", - "link_count": 0, - "link_to": "Sales Order Analysis", - "link_type": "Report", - "onboard": 0, - "type": "Link" - }, - { - "dependencies": "Sales Invoice", - "hidden": 0, - "is_query_report": 1, - "label": "Delivered Items To Be Billed", - "link_count": 0, - "link_to": "Delivered Items To Be Billed", - "link_type": "Report", - "onboard": 0, - "type": "Link" - } - ], - "modified": "2024-01-18 22:11:51.474477", - "modified_by": "Administrator", - "module": "Accounts", - "name": "Receivables", - "number_cards": [], - "owner": "Administrator", - "parent_page": "Accounting", - "public": 1, - "quick_lists": [], - "restrict_to_domain": "", - "roles": [], - "sequence_id": 4.0, - "shortcuts": [ - { - "color": "Grey", - "doc_view": "List", - "label": "POS Invoice", - "link_to": "POS Invoice", - "stats_filter": "[]", - "type": "DocType" - }, - { - "color": "Grey", - "doc_view": "List", - "label": "Cost Center", - "link_to": "Cost Center", - "type": "DocType" - }, - { - "doc_view": "", - "label": "Sales Invoice", - "link_to": "Sales Invoice", - "stats_filter": "[]", - "type": "DocType" - }, - { - "doc_view": "", - "label": "Journal Entry", - "link_to": "Journal Entry", - "type": "DocType" - }, - { - "doc_view": "", - "label": "Payment Entry", - "link_to": "Payment Entry", - "type": "DocType" - }, - { - "doc_view": "", - "label": "Accounts Receivable", - "link_to": "Accounts Receivable", - "type": "Report" - } - ], - "title": "Receivables" -} \ No newline at end of file diff --git a/erpnext/workspace_sidebar/payables.json b/erpnext/workspace_sidebar/payables.json deleted file mode 100644 index 5932569028c..00000000000 --- a/erpnext/workspace_sidebar/payables.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "app": "erpnext", - "creation": "2025-11-17 13:19:04.870143", - "docstatus": 0, - "doctype": "Workspace Sidebar", - "header_icon": "arrow-left", - "idx": 0, - "items": [ - { - "child": 0, - "collapsible": 1, - "icon": "home", - "indent": 0, - "keep_closed": 0, - "label": "Home", - "link_to": "Payables", - "link_type": "Workspace", - "show_arrow": 0, - "type": "Link" - }, - { - "child": 0, - "collapsible": 1, - "icon": "customer", - "indent": 0, - "keep_closed": 0, - "label": "Supplier", - "link_to": "Supplier", - "link_type": "DocType", - "show_arrow": 0, - "type": "Link" - }, - { - "child": 0, - "collapsible": 1, - "icon": "liabilities", - "indent": 0, - "keep_closed": 0, - "label": "Purchase Invoice", - "link_to": "Purchase Invoice", - "link_type": "DocType", - "show_arrow": 0, - "type": "Link" - }, - { - "child": 0, - "collapsible": 1, - "icon": "dollar-sign", - "indent": 0, - "keep_closed": 0, - "label": "Payment Entry", - "link_to": "Payment Entry", - "link_type": "DocType", - "show_arrow": 0, - "type": "Link" - }, - { - "child": 0, - "collapsible": 1, - "icon": "calendar-range", - "indent": 0, - "keep_closed": 0, - "label": "Journal Entry", - "link_to": "Journal Entry", - "link_type": "DocType", - "show_arrow": 0, - "type": "Link" - }, - { - "child": 0, - "collapsible": 1, - "icon": "notepad-text", - "indent": 0, - "keep_closed": 0, - "label": "Accounts Payable", - "link_to": "Accounts Payable", - "link_type": "Report", - "show_arrow": 0, - "type": "Link" - } - ], - "modified": "2025-11-25 10:46:09.192845", - "modified_by": "Administrator", - "module": "Accounts", - "name": "Payables", - "owner": "Administrator", - "title": "Payables" -} diff --git a/erpnext/workspace_sidebar/receivables.json b/erpnext/workspace_sidebar/receivables.json deleted file mode 100644 index e6ecb4884c1..00000000000 --- a/erpnext/workspace_sidebar/receivables.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "app": "erpnext", - "creation": "2025-11-17 13:19:04.958271", - "docstatus": 0, - "doctype": "Workspace Sidebar", - "header_icon": "arrow-right", - "idx": 0, - "items": [ - { - "child": 0, - "collapsible": 1, - "indent": 0, - "keep_closed": 0, - "label": "Home", - "link_to": "Receivables", - "link_type": "Workspace", - "show_arrow": 0, - "type": "Link" - }, - { - "child": 0, - "collapsible": 1, - "icon": "customer", - "indent": 0, - "keep_closed": 0, - "label": "Customer", - "link_to": "Customer", - "link_type": "DocType", - "show_arrow": 0, - "type": "Link" - }, - { - "child": 0, - "collapsible": 1, - "icon": "receipt", - "indent": 0, - "keep_closed": 0, - "label": "Sales Invoice", - "link_to": "Sales Invoice", - "link_type": "DocType", - "show_arrow": 0, - "type": "Link" - }, - { - "child": 0, - "collapsible": 1, - "icon": "dollar-sign", - "indent": 0, - "keep_closed": 0, - "label": "Payment Entry", - "link_to": "Payment Entry", - "link_type": "DocType", - "show_arrow": 0, - "type": "Link" - }, - { - "child": 0, - "collapsible": 1, - "icon": "file-text", - "indent": 0, - "keep_closed": 0, - "label": "Journal Entry", - "link_to": "Journal Entry", - "link_type": "DocType", - "show_arrow": 0, - "type": "Link" - }, - { - "child": 0, - "collapsible": 1, - "icon": "computer", - "indent": 0, - "keep_closed": 0, - "label": "POS Invoice", - "link_to": "POS Invoice", - "link_type": "DocType", - "show_arrow": 0, - "type": "Link" - }, - { - "child": 0, - "collapsible": 1, - "icon": "notepad-text", - "indent": 0, - "keep_closed": 0, - "label": "Accounts Receivable", - "link_to": "Accounts Receivable", - "link_type": "Report", - "show_arrow": 0, - "type": "Link" - } - ], - "modified": "2025-11-25 10:46:09.185843", - "modified_by": "Administrator", - "module": "Accounts", - "name": "Receivables", - "owner": "Administrator", - "title": "Receivables" -}