Browse Source

[fix] When user clicks on link in invoice there are duplicate DNs are showing against it (#3204)

version-14
rohitwaghchaure 8 years ago
committed by Rushabh Mehta
parent
commit
73af73c2e7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/desk/form/linked_with.py

+ 1
- 1
frappe/desk/form/linked_with.py View File

@@ -66,7 +66,7 @@ def get_linked_docs(doctype, name, linkinfo=None, for_doctype=None):
if link.get("doctype_fieldname"):
filters.append([link.get('child_doctype'), link.get("doctype_fieldname"), "=", doctype])

ret = frappe.get_list(doctype=dt, fields=fields, filters=filters)
ret = frappe.get_list(doctype=dt, fields=fields, filters=filters, distinct=True)

else:
if link.get("fieldname"):


Loading…
Cancel
Save