mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 12:49:10 +00:00
Minor fix in setup import
This commit is contained in:
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user