This website works better with JavaScript.
Home
Explore
Help
Sign In
anoopmb
/
frappe
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Merge pull request
#4076
from PawanMeh/fixes_4075
[fix]
#4075
version-14
Rushabh Mehta
7 years ago
committed by
GitHub
parent
28445211c1
e3e276f424
commit
9b576396c0
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
Write
Preview
Loading…
Cancel
Save