fix: linter issues

This commit is contained in:
Anupam
2021-11-19 10:32:04 +05:30
parent 6dda1548bc
commit 6210f10207
3 changed files with 3 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ def add_link_in_communication(doctype, docname, doc):
"link_name": docname,
"parent": ("not in", communications)
}, pluck="parent")
for communication in communications + communication_links:
communication_doc = frappe.get_doc("Communication", communication)
communication_doc.add_link(doc.doctype, doc.name, autosave=True)