mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-02 04:58:29 +00:00
fix: remove validate for issue priority (#19522)
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user