Removal of double brackets to setup the chart of accounts in the setup wizard

This commit is contained in:
CH 2017-04-06 19:14:58 +02:00 committed by Nabin Hait
parent 25bcb14c1d
commit d20ec25c92

View File

@ -89,7 +89,7 @@ def create_fiscal_year_and_company(args):
'default_currency':args.get('currency'),
'country': args.get('country'),
'create_chart_of_accounts_based_on': 'Standard Template',
'chart_of_accounts': args.get(('chart_of_accounts')),
'chart_of_accounts': args.get('chart_of_accounts'),
'domain': args.get('domain')
}).insert()
@ -607,5 +607,3 @@ def create_room(args):
room.save()
except frappe.DuplicateEntryError:
pass