diff --git a/frappe/desk/form/linked_with.py b/frappe/desk/form/linked_with.py index 5f5f6e4f82..72917d0341 100644 --- a/frappe/desk/form/linked_with.py +++ b/frappe/desk/form/linked_with.py @@ -43,6 +43,9 @@ def get_submitted_linked_docs(doctype, name, docs=None, linked=None): linked[link_doctype] = [] for link in link_names: + if link['name'] == name: + continue + if linked and name in linked[link_doctype]: continue