mirror of
https://github.com/frappe/erpnext.git
synced 2026-10-29 22:57:42 +00:00
fix(setup): show disabled user notice as a message, not a toast
(cherry picked from commit 1c358bd2a6)
This commit is contained in:
@@ -206,8 +206,7 @@ class Employee(NestedSet):
|
||||
frappe.msgprint(
|
||||
_("User {0} is disabled. Only a user who can edit Users can enable it.").format(
|
||||
frappe.bold(self.user_id)
|
||||
),
|
||||
alert=True,
|
||||
)
|
||||
)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user