chore: hardcode doctype

This commit is contained in:
Ankush Menat
2022-11-17 11:58:05 +05:30
parent 4a86b20e62
commit 1db83247ce
4 changed files with 6 additions and 6 deletions

View File

@@ -79,7 +79,7 @@ def get_children(doctype, parent=None, parent_quality_procedure=None, is_root=Fa
]
else:
return frappe.get_all(
doctype,
"Quality Procedure",
fields=["name as value", "is_group as expandable"],
filters=dict(parent_quality_procedure=parent),
order_by="name asc",