diff --git a/erpnext/config/accounts.py b/erpnext/config/accounts.py index 4bb65e82917..66b59a529ae 100644 --- a/erpnext/config/accounts.py +++ b/erpnext/config/accounts.py @@ -55,13 +55,12 @@ def get_data(): "description": _("Accounting journal entries.") }, { - "type": "page", - "name": "Tree", + "type": "doctype", + "name": "Account", "icon": "icon-sitemap", "label": _("Chart of Accounts"), "route": "Tree/Account", "description": _("Tree of financial accounts."), - "doctype": "Account", }, { "type": "report", @@ -197,13 +196,12 @@ def get_data(): "label": _("Budget and Cost Center"), "items": [ { - "type": "page", - "name": "Tree", + "type": "doctype", + "name": "Cost Center", "icon": "icon-sitemap", "label": _("Chart of Cost Centers"), "route": "Tree/Cost Center", "description": _("Tree of financial Cost Centers."), - "doctype": "Cost Center", }, { "type": "doctype", diff --git a/erpnext/config/buying.py b/erpnext/config/buying.py index b423ee925df..3c947cb7abb 100644 --- a/erpnext/config/buying.py +++ b/erpnext/config/buying.py @@ -96,13 +96,12 @@ def get_data(): "description": _("Price List master.") }, { - "type": "page", - "name": "Tree", + "type": "doctype", + "name": "Item Group", "icon": "icon-sitemap", "label": _("Item Group"), "link": "Tree/Item Group", "description": _("Tree of Item Groups."), - "doctype": "Item Group", }, { "type": "doctype", diff --git a/erpnext/config/crm.py b/erpnext/config/crm.py index 178ee959d3d..e25493cb01c 100644 --- a/erpnext/config/crm.py +++ b/erpnext/config/crm.py @@ -85,31 +85,28 @@ def get_data(): "description": _("Sales campaigns."), }, { - "type": "page", + "type": "doctype", "label": _("Customer Group"), - "name": "Tree", + "name": "Customer Group", "icon": "icon-sitemap", "link": "Tree/Customer Group", "description": _("Manage Customer Group Tree."), - "doctype": "Customer Group", }, { - "type": "page", + "type": "doctype", "label": _("Territory"), - "name": "Tree", + "name": "Territory", "icon": "icon-sitemap", "link": "Tree/Territory", "description": _("Manage Territory Tree."), - "doctype": "Territory", }, { - "type": "page", + "type": "doctype", "label": _("Sales Person"), - "name": "Tree", + "name": "Sales Person", "icon": "icon-sitemap", "link": "Tree/Sales Person", "description": _("Manage Sales Person Tree."), - "doctype": "Sales Person", }, ] }, diff --git a/erpnext/config/manufacturing.py b/erpnext/config/manufacturing.py index fbc9fb17014..51c5ef9a806 100644 --- a/erpnext/config/manufacturing.py +++ b/erpnext/config/manufacturing.py @@ -39,12 +39,12 @@ def get_data(): "label": _("Bill of Materials") }, { - "type": "page", - "name": "bom-browser", + "type": "doctype", + "name": "BOM", "icon": "icon-sitemap", "label": _("BOM Browser"), "description": _("Tree of Bill of Materials"), - "doctype": "BOM" + "link": "Tree/BOM", }, { "type": "doctype", diff --git a/erpnext/config/selling.py b/erpnext/config/selling.py index 1a725e2ae91..45ec1f749c8 100644 --- a/erpnext/config/selling.py +++ b/erpnext/config/selling.py @@ -28,13 +28,12 @@ def get_data(): "description": _("Customer database."), }, { - "type": "page", + "type": "doctype", "label": _("Customer Group"), - "name": "Tree", + "name": "Customer Group", "icon": "icon-sitemap", "link": "Tree/Customer Group", "description": _("Manage Customer Group Tree."), - "doctype": "Customer Group", }, { "type": "doctype", @@ -68,13 +67,12 @@ def get_data(): "description": _("Price List master.") }, { - "type": "page", - "name": "Tree", + "type": "doctype", + "name": "Item Group", "icon": "icon-sitemap", "label": _("Item Group"), "link": "Tree/Item Group", "description": _("Tree of Item Groups."), - "doctype": "Item Group", }, { "type": "doctype", @@ -99,13 +97,12 @@ def get_data(): "label": _("Sales Partners and Territory"), "items": [ { - "type": "page", + "type": "doctype", "label": _("Territory"), - "name": "Tree", + "name": "Territory", "icon": "icon-sitemap", "link": "Tree/Territory", "description": _("Manage Territory Tree."), - "doctype": "Territory", }, { "type": "doctype", @@ -113,13 +110,12 @@ def get_data(): "description": _("Manage Sales Partners."), }, { - "type": "page", + "type": "doctype", "label": _("Sales Person"), - "name": "Tree", + "name": "Sales Person", "icon": "icon-sitemap", "link": "Tree/Sales Person", "description": _("Manage Sales Person Tree."), - "doctype": "Sales Person", }, { "type": "report", diff --git a/erpnext/config/stock.py b/erpnext/config/stock.py index 320d906a5b3..5b78ca3e94a 100644 --- a/erpnext/config/stock.py +++ b/erpnext/config/stock.py @@ -77,13 +77,12 @@ def get_data(): "description": _("Price List master.") }, { - "type": "page", - "name": "Tree", + "type": "doctype", + "name": "Item Group", "icon": "icon-sitemap", "label": _("Item Group"), "link": "Tree/Item Group", "description": _("Tree of Item Groups."), - "doctype": "Item Group", }, { "type": "doctype",