From 342895c9df4128d46d912a4a0af470763e0a4572 Mon Sep 17 00:00:00 2001 From: Neil Trini Lasrado Date: Fri, 4 Mar 2016 15:41:27 +0530 Subject: [PATCH] Added Domain to setup wizard --- erpnext/public/js/setup_wizard.js | 2 ++ erpnext/setup/setup_wizard/setup_wizard.py | 1 + 2 files changed, 3 insertions(+) diff --git a/erpnext/public/js/setup_wizard.js b/erpnext/public/js/setup_wizard.js index b2693b9cae..ca7538eac5 100644 --- a/erpnext/public/js/setup_wizard.js +++ b/erpnext/public/js/setup_wizard.js @@ -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'}, diff --git a/erpnext/setup/setup_wizard/setup_wizard.py b/erpnext/setup/setup_wizard/setup_wizard.py index 5a046825c1..79c9e1740a 100644 --- a/erpnext/setup/setup_wizard/setup_wizard.py +++ b/erpnext/setup/setup_wizard/setup_wizard.py @@ -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