[re-org] setup wizard in frappe

This commit is contained in:
Rushabh Mehta
2015-11-09 16:53:11 +05:30
committed by Anand Doshi
parent f71ecbba2c
commit 37b4d75e4a
22 changed files with 465 additions and 1119 deletions

View File

@@ -32,9 +32,9 @@ def get_ancestors_of(doctype, name):
def before_tests():
frappe.clear_cache()
# complete setup if missing
from erpnext.setup.page.setup_wizard.setup_wizard import setup_account
from frappe.desk.page.setup_wizard.setup_wizard import setup_complete
if not frappe.get_list("Company"):
setup_account({
setup_complete({
"currency" :"USD",
"first_name" :"Test",
"last_name" :"User",