mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 00:44:45 +00:00
mend
This commit is contained in:
@@ -30,4 +30,4 @@ class SalesPerson(NestedSet):
|
|||||||
|
|
||||||
def validate_employee_id(self):
|
def validate_employee_id(self):
|
||||||
if frappe.db.exists({"doctype": "Sales Person","employee": self.employee}):
|
if frappe.db.exists({"doctype": "Sales Person","employee": self.employee}):
|
||||||
frappe.throw("Another sales person with the same empoyee id exists.")
|
frappe.throw("Another sales person with the same employee id exists.")
|
||||||
|
|||||||
Reference in New Issue
Block a user