Added Domain to setup wizard

This commit is contained in:
Neil Trini Lasrado 2016-03-04 15:41:27 +05:30 committed by Anand Doshi
parent b073cf4fa1
commit 342895c9df
2 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,8 @@ function load_erpnext_slides() {
placeholder:__('e.g. "Build tools for builders"'), reqd:1},
{fieldname:'bank_account', label: __('Bank Account'), fieldtype:'Data',
placeholder: __('e.g. "XYZ National Bank"'), reqd:1 },
{fieldname:'domain', label: __('Domain'), fieldtype:'Select',
options:["Distribution", "Manufacturing", "Retail", "Services", "Education"], reqd:1},
{fieldname:'chart_of_accounts', label: __('Chart of Accounts'),
options: "", fieldtype: 'Select'},

View File

@ -74,6 +74,7 @@ def create_fiscal_year_and_company(args):
'default_currency':args.get('currency'),
'country': args.get('country'),
'chart_of_accounts': args.get(('chart_of_accounts')),
'domain': args.get('domain')
}).insert()
# Bank Account