diff --git a/frappe/utils/goal.py b/frappe/utils/goal.py index 6385f7cef5..e7cffc3ddf 100644 --- a/frappe/utils/goal.py +++ b/frappe/utils/goal.py @@ -80,7 +80,6 @@ def get_monthly_goal_graph_data(title, doctype, docname, goal_value_field, goal_ if filter_str: doc_filter += ' and ' + filter_str if doc_filter else filter_str month_to_value_dict = get_monthly_results(goal_doctype, goal_field, date_field, doc_filter, aggregation) - frappe.db.set_value(doctype, docname, goal_history_field, json.dumps(month_to_value_dict)) month_to_value_dict[current_month_year] = current_month_value