From 8c6d266fad4a99103a45125987ff21d260457a3a Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Fri, 17 Jun 2022 14:14:44 +0530 Subject: [PATCH] fix: can't select dynamic link on address doctype --- frappe/contacts/address_and_contact.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frappe/contacts/address_and_contact.py b/frappe/contacts/address_and_contact.py index a0f742c55a..1461690378 100644 --- a/frappe/contacts/address_and_contact.py +++ b/frappe/contacts/address_and_contact.py @@ -170,7 +170,9 @@ def delete_contact_and_address(doctype, docname): @frappe.whitelist() @frappe.validate_and_sanitize_search_inputs -def filter_dynamic_link_doctypes(txt: str, filters: Dict) -> List[List[str]]: +def filter_dynamic_link_doctypes( + doctype, txt: str, searchfield, start, page_len, filters: Dict +) -> List[List[str]]: from frappe.permissions import get_doctypes_with_read txt = txt or ""