fix: remove validate for issue priority (#19522)
This commit is contained in:
parent
28c6a0aeb1
commit
bac50bc295
@ -8,7 +8,4 @@ from frappe import _
|
||||
from frappe.model.document import Document
|
||||
|
||||
class IssuePriority(Document):
|
||||
|
||||
def validate(self):
|
||||
if frappe.db.exists("Issue Priority", {"name": self.name}):
|
||||
frappe.throw(_("Issue Priority Already Exists"))
|
||||
pass
|
Loading…
x
Reference in New Issue
Block a user