fix: incorrect type in make_property_setter query (#16584)
* fix: incorrect type in make_property_setter query * fix: Remove redundant as_list kwarg Co-authored-by: gavin <gavin18d@gmail.com>
This commit is contained in:
parent
022bbe9889
commit
da5a5eda02
1 changed files with 1 additions and 1 deletions
|
|
@ -1536,7 +1536,7 @@ def make_property_setter(
|
|||
.select(DocField_doctype.parent)
|
||||
.where(DocField_doctype.fieldname == args.fieldname)
|
||||
.distinct()
|
||||
).run(as_list=True)
|
||||
).run(pluck=True)
|
||||
|
||||
else:
|
||||
doctype_list = [args.doctype]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue