fix: Old buying config update & bar chart on desk
- Line chart was inapprpriate as the values were not continuous.
diff --git a/erpnext/config/buying.py b/erpnext/config/buying.py
index 1d40547..16b49a1 100644
--- a/erpnext/config/buying.py
+++ b/erpnext/config/buying.py
@@ -166,7 +166,7 @@
{
"type": "report",
"is_query_report": True,
- "name": "Requested Items To Be Ordered",
+ "name": "Requested Items To Order",
"reference_doctype": "Material Request",
"onboard": 1,
},
diff --git a/erpnext/setup/setup_wizard/data/dashboard_charts.py b/erpnext/setup/setup_wizard/data/dashboard_charts.py
index 8d29397..9c654a8 100644
--- a/erpnext/setup/setup_wizard/data/dashboard_charts.py
+++ b/erpnext/setup/setup_wizard/data/dashboard_charts.py
@@ -154,10 +154,9 @@
"chart_name": "Purchase Analytics",
"custom_options": json.dumps({
"x_field": "entity",
- "chart_type": "Line",
+ "chart_type": "Bar",
"y_axis_fields": [{"idx": 1, "__islocal": "true", "y_field": "total"}],
- "y_fields": ["total"],
- "lineOptions": {"regionFill": 1}
+ "y_fields": ["total"]
})
},
{