Setup wizard test fix

This commit is contained in:
Nabin Hait
2017-09-13 15:12:29 +05:30
parent f056974bc5
commit 78baebfe0d
2 changed files with 4 additions and 1 deletions

View File

@@ -158,7 +158,9 @@ def set_defaults(args):
global_defaults.save()
frappe.db.set_value("System Settings", None, "email_footer_address", args.get("company"))
system_settings = frappe.get_doc("System Settings")
system_settings.email_footer_address = args.get("company")
system_settings.save()
stock_settings = frappe.get_doc("Stock Settings")
stock_settings.item_naming_by = "Item Code"