mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 00:44:45 +00:00
fix: Dont add Contact link if is company address
This commit is contained in:
@@ -10,7 +10,7 @@ class ERPNextAddress(Address):
|
|||||||
|
|
||||||
def link_address(self):
|
def link_address(self):
|
||||||
"""Link address based on owner"""
|
"""Link address based on owner"""
|
||||||
if not self.is_your_company_address:
|
if self.is_your_company_address:
|
||||||
return
|
return
|
||||||
|
|
||||||
return super(ERPNextAddress, self).link_address()
|
return super(ERPNextAddress, self).link_address()
|
||||||
|
|||||||
Reference in New Issue
Block a user