Skip to content

Commit

Permalink
Merge pull request #5159 from neilLasrado/setup-wizard-fix
Browse files Browse the repository at this point in the history
Fixed setup wizard
  • Loading branch information
nabinhait committed Apr 13, 2016
2 parents 09855fc + 7b46e51 commit 13a2574
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions erpnext/setup/setup_wizard/setup_wizard.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ def create_users(args):
# create employee for self
emp = frappe.get_doc({
"doctype": "Employee",
"full_name": " ".join(filter(None, [args.get("first_name"), args.get("last_name")])),
"employee_name": " ".join(filter(None, [args.get("first_name"), args.get("last_name")])),
"user_id": frappe.session.user,
"status": "Active",
"company": args.get("company_name")
Expand Down Expand Up @@ -470,7 +470,7 @@ def create_users(args):
# create employee
emp = frappe.get_doc({
"doctype": "Employee",
"full_name": fullname,
"employee_name": fullname,
"user_id": email,
"status": "Active",
"company": args.get("company_name")
Expand Down

0 comments on commit 13a2574

Please sign in to comment.