fix: Accounting Dimension filters not honouring user permissions
(cherry picked from commit aa9e78bed1)
This commit is contained in:
committed by
mergify-bot
parent
1454f8bc96
commit
7cbf577f1f
@@ -566,7 +566,7 @@ def get_filtered_dimensions(doctype, txt, searchfield, start, page_len, filters)
|
||||
|
||||
query_filters.append(['name', query_selector, dimensions])
|
||||
|
||||
output = frappe.get_all(doctype, filters=query_filters)
|
||||
output = frappe.get_list(doctype, filters=query_filters)
|
||||
result = [d.name for d in output]
|
||||
|
||||
return [(d,) for d in set(result)]
|
||||
|
||||
Reference in New Issue
Block a user