Merge pull request #16803 from hrwX/route-fix

fix(route): Route for DocTypes and Reports
This commit is contained in:
Prateeksha Singh 2019-02-28 11:55:13 +05:30 committed by GitHub
commit de5f281145
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 9 deletions

View File

@ -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",

View File

@ -168,7 +168,7 @@ def get_data():
{
"type": "doctype",
"name": "Course Schedule",
"route": "List/Course Schedule/Calendar"
"route": "#List/Course Schedule/Calendar"
},
{
"type": "doctype",

View File

@ -16,13 +16,13 @@ def get_data():
{
"type": "doctype",
"name": "Task",
"route": "List/Task",
"route": "#List/Task",
"description": _("Project activity / task."),
"onboard": 1,
},
{
"type": "report",
"route": "List/Task/Gantt",
"route": "#List/Task/Gantt",
"doctype": "Task",
"name": "Gantt Chart",
"description": _("Gantt chart of all tasks."),

View File

@ -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."),
},
]

View File

@ -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,
},

View File

@ -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"
},
{