chore: Rearranged Buying Module Dashboard
diff --git a/erpnext/config/buying.py b/erpnext/config/buying.py
index 6f5ab32..1d40547 100644
--- a/erpnext/config/buying.py
+++ b/erpnext/config/buying.py
@@ -9,6 +9,13 @@
"items": [
{
"type": "doctype",
+ "name": "Material Request",
+ "onboard": 1,
+ "dependencies": ["Item"],
+ "description": _("Request for purchase."),
+ },
+ {
+ "type": "doctype",
"name": "Purchase Order",
"onboard": 1,
"dependencies": ["Item", "Supplier"],
@@ -22,13 +29,6 @@
},
{
"type": "doctype",
- "name": "Material Request",
- "onboard": 1,
- "dependencies": ["Item"],
- "description": _("Request for purchase."),
- },
- {
- "type": "doctype",
"name": "Request for Quotation",
"onboard": 1,
"dependencies": ["Item", "Supplier"],
@@ -65,6 +65,11 @@
},
{
"type": "doctype",
+ "name": "Pricing Rule",
+ "description": _("Rules for applying pricing and discount.")
+ },
+ {
+ "type": "doctype",
"name": "Product Bundle",
"description": _("Bundle items at time of sale."),
},
@@ -80,11 +85,6 @@
"type": "doctype",
"name": "Promotional Scheme",
"description": _("Rules for applying different promotional schemes.")
- },
- {
- "type": "doctype",
- "name": "Pricing Rule",
- "description": _("Rules for applying pricing and discount.")
}
]
},
@@ -152,13 +152,6 @@
{
"type": "report",
"is_query_report": True,
- "name": "Supplier-Wise Sales Analytics",
- "reference_doctype": "Stock Ledger Entry",
- "onboard": 1
- },
- {
- "type": "report",
- "is_query_report": True,
"name": "Purchase Order Trends",
"reference_doctype": "Purchase Order",
"onboard": 1,
@@ -177,6 +170,16 @@
"reference_doctype": "Material Request",
"onboard": 1,
},
+ {
+ "type": "report",
+ "is_query_report": True,
+ "name": "Address And Contacts",
+ "label": _("Supplier Addresses And Contacts"),
+ "reference_doctype": "Address",
+ "route_options": {
+ "party_type": "Supplier"
+ }
+ }
]
},
{
@@ -226,18 +229,15 @@
{
"type": "report",
"is_query_report": True,
- "name": "Material Requests for which Supplier Quotations are not created",
- "reference_doctype": "Material Request"
+ "name": "Supplier-Wise Sales Analytics",
+ "reference_doctype": "Stock Ledger Entry",
+ "onboard": 1
},
{
"type": "report",
"is_query_report": True,
- "name": "Address And Contacts",
- "label": _("Supplier Addresses And Contacts"),
- "reference_doctype": "Address",
- "route_options": {
- "party_type": "Supplier"
- }
+ "name": "Material Requests for which Supplier Quotations are not created",
+ "reference_doctype": "Material Request"
}
]
},