[fix] #4075
This commit is contained in:
parent
0e1825992c
commit
e3e276f424
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue