mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-13 11:55:11 +00:00
mend
This commit is contained in:
@@ -30,4 +30,4 @@ class SalesPerson(NestedSet):
|
||||
|
||||
def validate_employee_id(self):
|
||||
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