fix: use get_all instead of get_list while fetching linked doctypes
This commit is contained in:
parent
20a2a2dd03
commit
d56fea4a47
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ class SubmittableDocumentTree:
|
|||
"""Returns list of submittable doctypes.
|
||||
"""
|
||||
if not self._submittable_doctypes:
|
||||
self._submittable_doctypes = frappe.db.get_list('DocType', {'is_submittable': 1}, pluck='name')
|
||||
self._submittable_doctypes = frappe.db.get_all('DocType', {'is_submittable': 1}, pluck='name')
|
||||
return self._submittable_doctypes
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue