mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-24 07:29:22 +00:00
Codacy fix - used classmethod decorator
This commit is contained in:
@@ -77,6 +77,7 @@ class Customer(TransactionBase):
|
|||||||
if self.flags.is_new_doc and self.get('address_line1'):
|
if self.flags.is_new_doc and self.get('address_line1'):
|
||||||
make_address(self)
|
make_address(self)
|
||||||
|
|
||||||
|
@classmethod
|
||||||
def get_display(self,address_title):
|
def get_display(self,address_title):
|
||||||
from frappe.contacts.doctype.address.address import get_address_display
|
from frappe.contacts.doctype.address.address import get_address_display
|
||||||
return get_address_display(address_title)
|
return get_address_display(address_title)
|
||||||
|
|||||||
Reference in New Issue
Block a user