fix: translate doctype in user-facing error message
This commit is contained in:
parent
0e12cf4281
commit
b6f12db08c
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ def has_permission(
|
|||
if not perm:
|
||||
push_perm_check_log(
|
||||
_("User {0} does not have doctype access via role permission for document {1}").format(
|
||||
frappe.bold(user), frappe.bold(doctype)
|
||||
frappe.bold(user), frappe.bold(_(doctype))
|
||||
),
|
||||
debug=debug,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue