mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 07:54:46 +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)
|
}).insert(ignore_permissions=True)
|
||||||
|
|
||||||
return replicated_issue.name
|
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):
|
def get_list_context(context=None):
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user