Changes in company doctype for chart of accounts

This commit is contained in:
bhupen 2016-11-23 14:43:02 +05:30 committed by Nabin Hait
parent f89f17cdde
commit c097a4fe68
2 changed files with 265 additions and 7 deletions

View File

@ -66,9 +66,12 @@ def identify_is_group(child):
def get_chart(chart_name): def get_chart(chart_name):
chart = {} chart = {}
if chart_name == "Standard": if chart_name == "Standard Template":
from erpnext.accounts.doctype.account.chart_of_accounts.verified import standard_chart_of_accounts from erpnext.accounts.doctype.account.chart_of_accounts.verified import standard_chart_of_accounts
return standard_chart_of_accounts.get() return standard_chart_of_accounts.get()
else: else:
folders = ("verified",) folders = ("verified",)
if frappe.local.flags.allow_unverified_charts: if frappe.local.flags.allow_unverified_charts:

File diff suppressed because it is too large Load Diff