fix: Handle changes in frappe's get_monthly_goal_graph_data API

This commit is contained in:
Gavin D'souza 2022-03-31 15:37:14 +05:30
parent 6c5b01c60d
commit f8c9fba52d

View File

@ -14,7 +14,7 @@ def get_data():
"goal_doctype_link": "company",
"goal_field": "base_grand_total",
"date_field": "posting_date",
"filter_str": "docstatus = 1 and is_opening != 'Yes'",
"filters": {"docstatus": 1, "is_opening": ("!=", "Yes")},
"aggregation": "sum",
},
"fieldname": "company",