mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-18 09:05:00 +00:00
fix: Missing method reset_issue_metrics added back to Issue doctype (#26573)
This commit is contained in:
@@ -116,6 +116,10 @@ class Issue(Document):
|
||||
}).insert(ignore_permissions=True)
|
||||
|
||||
return replicated_issue.name
|
||||
|
||||
def reset_issue_metrics(self):
|
||||
self.db_set("resolution_time", None)
|
||||
self.db_set("user_resolution_time", None)
|
||||
|
||||
def get_list_context(context=None):
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user