Browse Source

Merge pull request #14295 from frappe/mergify/bp/develop/pr-14291

fix: set correct title in links table (backport #14291)
version-14
Suraj Shetty 3 years ago
committed by GitHub
parent
commit
c322f4d065
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/contacts/address_and_contact.py

+ 1
- 1
frappe/contacts/address_and_contact.py View File

@@ -178,4 +178,4 @@ def set_link_title(doc):
for link in doc.links:
if not link.link_title:
linked_doc = frappe.get_doc(link.link_doctype, link.link_name)
link.link_title = linked_doc.get("title_field") or linked_doc.get("name")
link.link_title = linked_doc.get_title() or link.link_name

Loading…
Cancel
Save