Create Chart of Accounts based on existing company

This commit is contained in:
Nabin Hait
2016-11-23 17:34:01 +05:30
parent c097a4fe68
commit e0089184e6
5 changed files with 136 additions and 77 deletions

View File

@@ -88,6 +88,7 @@ def create_fiscal_year_and_company(args):
'abbr':args.get('company_abbr'),
'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')),
'domain': args.get('domain')
}).insert()