fix: Not permitted in title case
This commit is contained in:
parent
8413f920de
commit
99bd9fc3cf
1 changed files with 1 additions and 1 deletions
|
|
@ -463,7 +463,7 @@ def add_total_row(result, columns, meta = None):
|
|||
def get_data_for_custom_field(doctype, field):
|
||||
|
||||
if not frappe.has_permission(doctype, "read"):
|
||||
frappe.throw(_("Not permitted"), frappe.PermissionError)
|
||||
frappe.throw(_("Not Permitted"), frappe.PermissionError)
|
||||
|
||||
value_map = frappe._dict(frappe.get_all(doctype,
|
||||
fields=["name", field],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue