Merge pull request #16803 from hrwX/route-fix
fix(route): Route for DocTypes and Reports
This commit is contained in:
commit
de5f281145
@ -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",
|
||||
|
@ -168,7 +168,7 @@ def get_data():
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Course Schedule",
|
||||
"route": "List/Course Schedule/Calendar"
|
||||
"route": "#List/Course Schedule/Calendar"
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
|
@ -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."),
|
||||
|
@ -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."),
|
||||
},
|
||||
]
|
||||
|
@ -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,
|
||||
},
|
||||
|
@ -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"
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user