fix: reset default company
This commit is contained in:
parent
c850f46c0a
commit
7805abbb2d
@ -26,6 +26,8 @@ def clear_demo_data():
|
||||
create_transaction_deletion_record(company)
|
||||
clear_masters()
|
||||
delete_company(company)
|
||||
default_company = frappe.db.get_single_value("Global Defaults", "default_company")
|
||||
frappe.db.set_default("company", default_company)
|
||||
|
||||
|
||||
def create_demo_company():
|
||||
|
Loading…
x
Reference in New Issue
Block a user