fix: permission error
This commit is contained in:
parent
acc27a147a
commit
37dba69db0
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ def update_global_search_doctypes():
|
|||
if search_doctypes.get(domain):
|
||||
global_search_doctypes.extend(search_doctypes.get(domain))
|
||||
|
||||
doctype_list = set([dt.name for dt in frappe.get_list("DocType")])
|
||||
doctype_list = set([dt.name for dt in frappe.get_all("DocType")])
|
||||
allowed_in_global_search = []
|
||||
|
||||
for dt in global_search_doctypes:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue