config(modules): Rearrange links

This commit is contained in:
Prateeksha Singh
2019-02-06 17:02:41 +05:30
parent b5eb16faeb
commit 063af4ed08
9 changed files with 463 additions and 395 deletions

View File

@@ -12,12 +12,6 @@ def get_data():
"onboard": 1,
"description": _("All Products or Services."),
},
{
"type": "doctype",
"name": "Price List",
"onboard": 1,
"description": _("Price List master.")
},
{
"type": "doctype",
"name": "Item Price",
@@ -25,6 +19,11 @@ def get_data():
"onboard": 1,
"route": "Report/Item Price"
},
{
"type": "doctype",
"name": "Price List",
"description": _("Price List master.")
},
{
"type": "doctype",
"name": "Product Bundle",
@@ -43,22 +42,30 @@ def get_data():
"name": "Pricing Rule",
"description": _("Rules for applying pricing and discount.")
},
]
},
{
"label": _("Purchasing"),
"icon": "fa fa-star",
"items": [
{
"type": "doctype",
"name": "Purchase Order",
"onboard": 1,
"dependencies": ["Item", "Supplier"],
"description": _("Purchase Orders given to Suppliers."),
},
{
"type": "doctype",
"name": "Material Request",
"onboard": 1,
"dependencies": ["Item"],
"description": _("Request for purchase."),
},
{
"type": "doctype",
"name": "Request for Quotation",
"onboard": 1,
"dependencies": ["Item", "Supplier"],
"description": _("Request for quotation."),
},
@@ -68,12 +75,6 @@ def get_data():
"dependencies": ["Item", "Supplier"],
"description": _("Quotations received from Suppliers."),
},
{
"type": "doctype",
"name": "Purchase Order",
"dependencies": ["Item", "Supplier"],
"description": _("Purchase Orders given to Suppliers."),
},
]
},
{
@@ -110,6 +111,7 @@ def get_data():
{
"type": "doctype",
"name": "Buying Settings",
"onboard": 1,
"description": _("Default settings for buying transactions.")
},
{
@@ -133,19 +135,22 @@ def get_data():
"type": "report",
"is_query_report": True,
"name": "Purchase Analytics",
"doctype": "Purchase Order"
"reference_doctype": "Purchase Order",
"onboard": 1
},
{
"type": "report",
"is_query_report": True,
"name": "Supplier-Wise Sales Analytics",
"doctype": "Stock Ledger Entry"
"reference_doctype": "Stock Ledger Entry",
"onboard": 1
},
{
"type": "report",
"is_query_report": True,
"name": "Purchase Order Trends",
"doctype": "Purchase Order"
"reference_doctype": "Purchase Order",
"onboard": 1,
},
]
},
@@ -183,32 +188,35 @@ def get_data():
"type": "report",
"is_query_report": True,
"name": "Items To Be Requested",
"doctype": "Item"
"reference_doctype": "Item",
"onboard": 1,
},
{
"type": "report",
"is_query_report": True,
"name": "Requested Items To Be Ordered",
"doctype": "Material Request"
},
{
"type": "report",
"is_query_report": True,
"name": "Material Requests for which Supplier Quotations are not created",
"doctype": "Material Request"
"reference_doctype": "Material Request",
"onboard": 1,
},
{
"type": "report",
"is_query_report": True,
"name": "Item-wise Purchase History",
"doctype": "Item"
"reference_doctype": "Item",
"onboard": 1,
},
{
"type": "report",
"is_query_report": True,
"name": "Material Requests for which Supplier Quotations are not created",
"reference_doctype": "Material Request"
},
{
"type": "report",
"is_query_report": True,
"name": "Address And Contacts",
"label": "Supplier Addresses And Contacts",
"doctype": "Address",
"reference_doctype": "Address",
"route_options": {
"party_type": "Supplier"
}