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},
|
placeholder:__('e.g. "Build tools for builders"'), reqd:1},
|
||||||
{fieldname:'bank_account', label: __('Bank Account'), fieldtype:'Data',
|
{fieldname:'bank_account', label: __('Bank Account'), fieldtype:'Data',
|
||||||
placeholder: __('e.g. "XYZ National Bank"'), reqd:1 },
|
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'),
|
{fieldname:'chart_of_accounts', label: __('Chart of Accounts'),
|
||||||
options: "", fieldtype: 'Select'},
|
options: "", fieldtype: 'Select'},
|
||||||
|
|
||||||
|
@ -74,6 +74,7 @@ def create_fiscal_year_and_company(args):
|
|||||||
'default_currency':args.get('currency'),
|
'default_currency':args.get('currency'),
|
||||||
'country': args.get('country'),
|
'country': args.get('country'),
|
||||||
'chart_of_accounts': args.get(('chart_of_accounts')),
|
'chart_of_accounts': args.get(('chart_of_accounts')),
|
||||||
|
'domain': args.get('domain')
|
||||||
}).insert()
|
}).insert()
|
||||||
|
|
||||||
# Bank Account
|
# Bank Account
|
||||||
|
Loading…
Reference in New Issue
Block a user