diff --git a/erpnext/support/doctype/issue/issue.py b/erpnext/support/doctype/issue/issue.py index 1f0ae2dd36c..410ed4c3b6c 100644 --- a/erpnext/support/doctype/issue/issue.py +++ b/erpnext/support/doctype/issue/issue.py @@ -291,10 +291,6 @@ class Issue(Document): self.agreement_status = "Ongoing" self.save() - def reset_issue_metrics(self): - self.db_set("resolution_time", None) - self.db_set("user_resolution_time", None) - def get_priority(issue): service_level_agreement = frappe.get_doc("Service Level Agreement", issue.service_level_agreement) @@ -638,4 +634,4 @@ def is_before_working_hours(date, support_hours): time = get_time_in_seconds(date) if time < start_time: return True - return False \ No newline at end of file + return False