Browse Source

Merge pull request #4076 from PawanMeh/fixes_4075

[fix] #4075
version-14
Rushabh Mehta 7 years ago
committed by GitHub
parent
commit
9b576396c0
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      frappe/contacts/doctype/address/address.py

+ 1
- 0
frappe/contacts/doctype/address/address.py View File

@@ -75,6 +75,7 @@ class Address(Document):

return False

@frappe.whitelist()
def get_default_address(doctype, name, sort_key='is_primary_address'):
'''Returns default Address name for the given doctype, name'''
out = frappe.db.sql('''select


Loading…
Cancel
Save