fix: can't select dynamic link on address doctype
This commit is contained in:
parent
6d6a67e9e3
commit
8c6d266fad
1 changed files with 3 additions and 1 deletions
|
|
@ -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 ""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue