fix: Use get_all instead of get_list for child doctype
This change is required to avoid permission error
This commit is contained in:
parent
3ee9c0492a
commit
85fe86c370
1 changed files with 1 additions and 1 deletions
|
|
@ -191,7 +191,7 @@ class Exporter:
|
|||
[format_column_name(df) for df in self.fields if df.parent == child_table_doctype]
|
||||
)
|
||||
)
|
||||
data = frappe.db.get_list(
|
||||
data = frappe.db.get_all(
|
||||
child_table_doctype,
|
||||
filters={
|
||||
"parent": ("in", parent_names),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue