mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-02 08:03:21 +00:00
This commit is contained in:
@@ -56,7 +56,7 @@ class Contact(StatusUpdater):
|
||||
|
||||
@frappe.whitelist()
|
||||
def get_contact_details(contact):
|
||||
contact = frappe.doc("Contact", contact)
|
||||
contact = frappe.get_doc("Contact", contact)
|
||||
out = {
|
||||
"contact_person": contact.get("name"),
|
||||
"contact_display": " ".join(filter(None,
|
||||
|
||||
Reference in New Issue
Block a user