Merge pull request #30521 from gavindsouza/misc-fixes-0

fix: Handle changes in frappe's get_monthly_goal_graph_data API
This commit is contained in:
gavin 2022-04-01 17:28:59 +05:30 committed by GitHub
commit 1d2e9e8e1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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",