mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 00:44:45 +00:00
fix: Old buying config update & bar chart on desk
- Line chart was inapprpriate as the values were not continuous.
This commit is contained in:
@@ -166,7 +166,7 @@ def get_data():
|
|||||||
{
|
{
|
||||||
"type": "report",
|
"type": "report",
|
||||||
"is_query_report": True,
|
"is_query_report": True,
|
||||||
"name": "Requested Items To Be Ordered",
|
"name": "Requested Items To Order",
|
||||||
"reference_doctype": "Material Request",
|
"reference_doctype": "Material Request",
|
||||||
"onboard": 1,
|
"onboard": 1,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -154,10 +154,9 @@ def get_default_dashboards():
|
|||||||
"chart_name": "Purchase Analytics",
|
"chart_name": "Purchase Analytics",
|
||||||
"custom_options": json.dumps({
|
"custom_options": json.dumps({
|
||||||
"x_field": "entity",
|
"x_field": "entity",
|
||||||
"chart_type": "Line",
|
"chart_type": "Bar",
|
||||||
"y_axis_fields": [{"idx": 1, "__islocal": "true", "y_field": "total"}],
|
"y_axis_fields": [{"idx": 1, "__islocal": "true", "y_field": "total"}],
|
||||||
"y_fields": ["total"],
|
"y_fields": ["total"]
|
||||||
"lineOptions": {"regionFill": 1}
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user