fix: Old buying config update & bar chart on desk

- Line chart was inapprpriate as the values were not continuous.
This commit is contained in:
marination 2020-05-06 18:34:07 +05:30
parent 631260b632
commit 4a73bc672b
2 changed files with 3 additions and 4 deletions

View File

@ -166,7 +166,7 @@ def get_data():
{
"type": "report",
"is_query_report": True,
"name": "Requested Items To Be Ordered",
"name": "Requested Items To Order",
"reference_doctype": "Material Request",
"onboard": 1,
},

View File

@ -154,10 +154,9 @@ def get_default_dashboards():
"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"]
})
},
{