clear cache before running setup wizard
This commit is contained in:
parent
9591b8ec93
commit
2667a50334
@ -29,6 +29,7 @@ frappe.pages['setup-wizard'].onload = function(wrapper) {
|
||||
}, 2000);
|
||||
},
|
||||
error: function(r) {
|
||||
|
||||
var d = msgprint(__("There were errors."));
|
||||
d.custom_onhide = function() {
|
||||
frappe.set_route(erpnext.wiz.page_name, "0");
|
||||
|
@ -15,6 +15,7 @@ import install_fixtures
|
||||
|
||||
@frappe.whitelist()
|
||||
def setup_account(args=None):
|
||||
frappe.clear_cache()
|
||||
|
||||
if frappe.db.sql("select name from tabCompany"):
|
||||
frappe.throw(_("Setup Already Complete!!"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user