Minor fix in setup import

This commit is contained in:
Anand Doshi 2014-02-11 20:28:11 +05:30
parent 93fdc670fe
commit 2735733d1f

View File

@ -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) webnotes.conn.set_value("Account", new_account or old_account, "master_name", newdn)
def add_abbr_if_missing(dn, company): 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) return get_name_with_abbr(dn, company)
def get_account_for(account_for_doctype, account_for): def get_account_for(account_for_doctype, account_for):