fix: Set value as string for property setter

This commit is contained in:
Suraj Shetty 2022-02-15 10:21:40 +05:30
parent 9e6889fc6d
commit 5e57a9004d

View file

@ -329,7 +329,7 @@ def get_link_title_doctypes():
dts = frappe.get_all("DocType", {"show_title_field_in_link": 1})
custom_dts = frappe.get_all(
"Property Setter",
{"property": "show_title_field_in_link", "value": 1},
{"property": "show_title_field_in_link", "value": "1"},
["doc_type as name"],
)
return [d.name for d in dts + custom_dts if d]