fix: Use get_all instead of get_list
This commit is contained in:
parent
e9c44371b8
commit
2b3b166386
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ class Event(Document):
|
|||
["Communication Link", "link_doctype", "=", participant.reference_doctype],
|
||||
["Communication Link", "link_name", "=", participant.reference_docname]
|
||||
]
|
||||
comms = frappe.get_list("Communication", filters=filters, fields=["name"], ignore_permissions=True)
|
||||
comms = frappe.get_all("Communication", filters=filters, fields=["name"])
|
||||
|
||||
if comms:
|
||||
for comm in comms:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue