mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 19:59:12 +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
|
from frappe.model.document import Document
|
||||||
|
|
||||||
class IssuePriority(Document):
|
class IssuePriority(Document):
|
||||||
|
pass
|
||||||
def validate(self):
|
|
||||||
if frappe.db.exists("Issue Priority", {"name": self.name}):
|
|
||||||
frappe.throw(_("Issue Priority Already Exists"))
|
|
||||||
Reference in New Issue
Block a user