This commit is contained in:
Rushabh Mehta
2014-03-28 16:44:37 +05:30
parent 43405203b2
commit b385ecf65e
83 changed files with 349 additions and 349 deletions

View File

@@ -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,