From 1cb695b7e9335345c529c878df7ae8ddb9327054 Mon Sep 17 00:00:00 2001 From: Himanshu Warekar Date: Thu, 28 Feb 2019 11:42:36 +0530 Subject: [PATCH 1/2] fix route for Task and Tree of Procedure --- erpnext/config/projects.py | 2 +- erpnext/config/quality_management.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/config/projects.py b/erpnext/config/projects.py index 184fb19328..c064cde4b3 100644 --- a/erpnext/config/projects.py +++ b/erpnext/config/projects.py @@ -16,7 +16,7 @@ def get_data(): { "type": "doctype", "name": "Task", - "route": "List/Task", + "route": "#List/Task", "description": _("Project activity / task."), "onboard": 1, }, diff --git a/erpnext/config/quality_management.py b/erpnext/config/quality_management.py index 5844846b1d..1256b2d957 100644 --- a/erpnext/config/quality_management.py +++ b/erpnext/config/quality_management.py @@ -23,7 +23,7 @@ def get_data(): "name": "Quality Procedure", "icon": "fa fa-sitemap", "label": _("Tree of Procedures"), - "route": "Tree/Quality Procedure", + "route": "#Tree/Quality Procedure", "description": _("Tree of Quality Procedures."), }, ] From 3315a9fafb93e0e6a8e6b48826f49dd40a7ee38a Mon Sep 17 00:00:00 2001 From: Himanshu Warekar Date: Thu, 28 Feb 2019 11:51:36 +0530 Subject: [PATCH 2/2] fix routes --- erpnext/config/buying.py | 2 +- erpnext/config/education.py | 2 +- erpnext/config/projects.py | 2 +- erpnext/config/selling.py | 6 +++--- erpnext/config/stock.py | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/erpnext/config/buying.py b/erpnext/config/buying.py index 9d1eda5d7b..2b116d22b4 100644 --- a/erpnext/config/buying.py +++ b/erpnext/config/buying.py @@ -50,7 +50,7 @@ def get_data(): "name": "Item Price", "description": _("Multiple Item prices."), "onboard": 1, - "route": "Report/Item Price" + "route": "#Report/Item Price" }, { "type": "doctype", diff --git a/erpnext/config/education.py b/erpnext/config/education.py index 96e7e8118e..a2afa32a84 100644 --- a/erpnext/config/education.py +++ b/erpnext/config/education.py @@ -168,7 +168,7 @@ def get_data(): { "type": "doctype", "name": "Course Schedule", - "route": "List/Course Schedule/Calendar" + "route": "#List/Course Schedule/Calendar" }, { "type": "doctype", diff --git a/erpnext/config/projects.py b/erpnext/config/projects.py index c064cde4b3..5a907fff48 100644 --- a/erpnext/config/projects.py +++ b/erpnext/config/projects.py @@ -22,7 +22,7 @@ def get_data(): }, { "type": "report", - "route": "List/Task/Gantt", + "route": "#List/Task/Gantt", "doctype": "Task", "name": "Gantt Chart", "description": _("Gantt chart of all tasks."), diff --git a/erpnext/config/selling.py b/erpnext/config/selling.py index 1b9a7a087f..0750c6ca3b 100644 --- a/erpnext/config/selling.py +++ b/erpnext/config/selling.py @@ -46,14 +46,14 @@ def get_data(): "type": "report", "is_query_report": True, "name": "Territory Target Variance (Item Group-Wise)", - "route": "query-report/Territory Target Variance Item Group-Wise", + "route": "#query-report/Territory Target Variance Item Group-Wise", "doctype": "Territory", }, { "type": "report", "is_query_report": True, "name": "Sales Person Target Variance (Item Group-Wise)", - "route": "query-report/Sales Person Target Variance Item Group-Wise", + "route": "#query-report/Sales Person Target Variance Item Group-Wise", "doctype": "Sales Person", "dependencies": ["Sales Person"], }, @@ -72,7 +72,7 @@ def get_data(): "type": "doctype", "name": "Item Price", "description": _("Multiple Item prices."), - "route": "Report/Item Price", + "route": "#Report/Item Price", "dependencies": ["Item", "Price List"], "onboard": 1, }, diff --git a/erpnext/config/stock.py b/erpnext/config/stock.py index 117b61578d..4fc824fcf1 100644 --- a/erpnext/config/stock.py +++ b/erpnext/config/stock.py @@ -278,7 +278,7 @@ def get_data(): { "type": "report", "name": "Item Shortage Report", - "route": "Report/Bin/Item Shortage Report", + "route": "#Report/Bin/Item Shortage Report", "doctype": "Purchase Receipt" }, {