fix(user-permission): remove typo
This commit is contained in:
parent
f49163b2e3
commit
fbd58f2fe5
1 changed files with 2 additions and 2 deletions
|
|
@ -53,7 +53,7 @@ class UserPermission(Document):
|
|||
}, limit=1)
|
||||
if overlap_exists:
|
||||
ref_link = frappe.get_desk_link(self.doctype, overlap_exists[0].name)
|
||||
frappe.throw(_("{0} has already assigned default vaue for {1}.".format(ref_link, self.allow)))
|
||||
frappe.throw(_("{0} has already assigned default value for {1}.".format(ref_link, self.allow)))
|
||||
|
||||
@frappe.whitelist()
|
||||
def get_user_permissions(user=None):
|
||||
|
|
@ -236,4 +236,4 @@ def update_applicable(already_applied, to_apply, user, doctype, docname):
|
|||
AND `applicable_for`=%s
|
||||
AND `allow`=%s
|
||||
AND `for_value`=%s
|
||||
""",(user, applied, doctype, docname))
|
||||
""",(user, applied, doctype, docname))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue