chore: hardcode doctype

This commit is contained in:
Ankush Menat
2022-11-17 11:58:05 +05:30
parent 85d8540379
commit 9d5c4ffadf
4 changed files with 7 additions and 7 deletions

View File

@@ -70,11 +70,11 @@ def get_children(doctype, parent=None, company=None, is_root=False):
select
name as value,
is_group as expandable
from `tab{doctype}`
from `tabDepartment`
where
{condition}
order by name""".format(
doctype=doctype, condition=condition
condition=condition
),
var_dict,
as_dict=1,