mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-23 13:12:22 +01:00
chore: resolve conflict
This commit is contained in:
@@ -185,12 +185,6 @@ class Employee(NestedSet):
|
||||
throw(_("Please enter relieving date."))
|
||||
|
||||
def validate_for_enabled_user_id(self, enabled):
|
||||
<<<<<<< HEAD
|
||||
if not self.status == "Active":
|
||||
return
|
||||
|
||||
=======
|
||||
>>>>>>> 194d060f13 (fix: update user status depends on employee status)
|
||||
if enabled is None:
|
||||
frappe.throw(_("User {0} does not exist").format(self.user_id))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user