From 081afb1492e45741591db7af1fe13983d8a8b07e Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Thu, 14 Nov 2019 13:43:54 +0530 Subject: [PATCH] fix: deadlock issue on load of company --- frappe/utils/goal.py | 1 - 1 file changed, 1 deletion(-) 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