From 2735733d1f4c15450361e4c446f0035d63192946 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Tue, 11 Feb 2014 20:28:11 +0530 Subject: [PATCH] Minor fix in setup import --- erpnext/accounts/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/utils.py b/erpnext/accounts/utils.py index 9f6545247a..c3f1243af6 100644 --- a/erpnext/accounts/utils.py +++ b/erpnext/accounts/utils.py @@ -370,7 +370,7 @@ def rename_account_for(dt, olddn, newdn, merge, company): webnotes.conn.set_value("Account", new_account or old_account, "master_name", newdn) def add_abbr_if_missing(dn, company): - from ..setup.doctype.company.company import get_name_with_abbr + from erpnext.setup.doctype.company.company import get_name_with_abbr return get_name_with_abbr(dn, company) def get_account_for(account_for_doctype, account_for):