fix: Dont add Contact link if is company address
This commit is contained in:
parent
22bcad9dc7
commit
be0fcbea68
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user