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:
@@ -117,6 +117,10 @@ class Issue(Document):
|
|||||||
|
|
||||||
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 {
|
||||||
"title": _("Issues"),
|
"title": _("Issues"),
|
||||||
|
|||||||
Reference in New Issue
Block a user