fix: Handle empty chart state and change desk dashboard

This commit is contained in:
marination 2020-05-15 23:47:51 +05:30
parent a74d433cd8
commit 75c65fd1b1
3 changed files with 5 additions and 5 deletions

View File

@ -40,8 +40,8 @@
"category": "Modules",
"charts": [
{
"chart_name": "Purchase Analytics",
"label": "Buying Analytics"
"chart_name": "Purchase Order Trends",
"label": "Purchase Order Trends"
}
],
"charts_label": "Buying Dashboard",
@ -54,7 +54,7 @@
"idx": 0,
"is_standard": 1,
"label": "Buying",
"modified": "2020-05-15 14:26:42.505702",
"modified": "2020-05-15 23:41:09.307288",
"modified_by": "Administrator",
"module": "Buying",
"name": "Buying",

View File

@ -19,7 +19,7 @@
"documentation_url": "https://docs.erpnext.com/docs/user/manual/en/buying",
"idx": 0,
"is_complete": 0,
"modified": "2020-05-15 14:39:16.514904",
"modified": "2020-05-15 23:42:35.625736",
"modified_by": "Administrator",
"module": "Buying",
"name": "Buying",

View File

@ -19,7 +19,7 @@ def execute(filters=None):
data = get_data(conditions, filters)
if not data:
return [], []
return [], [], None, []
data, chart_data = prepare_data(data, filters)