From 0f3c4fa7a7da82b1aa626a4faeac4cceb859afd6 Mon Sep 17 00:00:00 2001 From: Saurabh Date: Fri, 9 Feb 2018 11:30:11 +0530 Subject: [PATCH] Codacy fix - used classmethod decorator --- erpnext/selling/doctype/customer/customer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/selling/doctype/customer/customer.py b/erpnext/selling/doctype/customer/customer.py index 94aeed972ca..518952f4244 100644 --- a/erpnext/selling/doctype/customer/customer.py +++ b/erpnext/selling/doctype/customer/customer.py @@ -77,6 +77,7 @@ class Customer(TransactionBase): if self.flags.is_new_doc and self.get('address_line1'): make_address(self) + @classmethod def get_display(self,address_title): from frappe.contacts.doctype.address.address import get_address_display return get_address_display(address_title)