Added Domain to setup wizard
This commit is contained in:
parent
b073cf4fa1
commit
342895c9df
@ -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'},
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user