From 21d2efbbdc48c1f5f16d63c449f85cd165102940 Mon Sep 17 00:00:00 2001 From: Deepesh Garg Date: Thu, 9 Sep 2021 11:52:30 +0530 Subject: [PATCH] fix: Add missing imports --- erpnext/selling/doctype/customer/customer.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/erpnext/selling/doctype/customer/customer.py b/erpnext/selling/doctype/customer/customer.py index 437160c753e..01c1aee6b75 100644 --- a/erpnext/selling/doctype/customer/customer.py +++ b/erpnext/selling/doctype/customer/customer.py @@ -7,12 +7,17 @@ import json from frappe.model.naming import set_name_by_naming_series from frappe import _, msgprint import frappe.defaults + +from frappe.contacts.address_and_contact import ( + delete_contact_and_address, + load_address_and_contact, +) + from frappe.utils import flt, cint, cstr, today, get_formatted_email from frappe.desk.reportview import build_match_conditions, get_filters_cond from frappe.model.mapper import get_mapped_doc from frappe.model.naming import set_name_by_naming_series, set_name_from_naming_options from frappe.model.rename_doc import update_linked_doctypes -from frappe.model.mapper import get_mapped_doc from frappe.utils.user import get_users_with_role from erpnext.accounts.party import get_dashboard_info, validate_party_accounts