commit | be0fcbea68bd24981b8c77a4b01eacaf63835d0a | [log] [tgz] |
---|---|---|
author | Faris Ansari <netchamp.faris@gmail.com> | Fri Oct 16 15:55:25 2020 +0530 |
committer | Faris Ansari <netchamp.faris@gmail.com> | Fri Oct 16 15:55:25 2020 +0530 |
tree | 4536149b04f2c2f0542ba9eedd83ec1ed9d49716 | |
parent | 22bcad9dc75d57381a21dbbf3317c906b0a666fb [diff] |
fix: Dont add Contact link if is company address
diff --git a/erpnext/accounts/custom/address.py b/erpnext/accounts/custom/address.py index 4894c64..5e76403 100644 --- a/erpnext/accounts/custom/address.py +++ b/erpnext/accounts/custom/address.py
@@ -10,7 +10,7 @@ def link_address(self): """Link address based on owner""" - if not self.is_your_company_address: + if self.is_your_company_address: return return super(ERPNextAddress, self).link_address()