Merge pull request #23302 from cogk/fix-webform-get-cached-value
fix(WebForm): Replace `get_cached_value` with `get_value`
This commit is contained in:
commit
49a0f75782
1 changed files with 1 additions and 1 deletions
|
|
@ -684,7 +684,7 @@ def get_link_options(web_form_name, doctype, allow_read_on_all_link_options=Fals
|
|||
frappe.get_cached_value("DocType", doctype, "show_title_field_in_link") == 1
|
||||
)
|
||||
if not show_title_field_in_link:
|
||||
value = frappe.get_cached_value(
|
||||
value = frappe.db.get_value(
|
||||
"Property Setter",
|
||||
fieldname="value",
|
||||
filters={"property": "show_title_field_in_link", "doc_type": doctype},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue