commit | bb5387fa5d0b1382783e08977058431059520fd3 | [log] [tgz] |
---|---|---|
author | Deepesh Garg <deepeshgarg6@gmail.com> | Fri Jul 07 10:49:56 2023 +0530 |
committer | Deepesh Garg <deepeshgarg6@gmail.com> | Fri Jul 07 10:49:56 2023 +0530 |
tree | f5fc2a3dd726f82980db0422fc5595448438803b | |
parent | d5bdd9387a56ff40f728a2f77b7a4b9bfa273205 [diff] [blame] |
fix: Add demo setup check in setup wizard
diff --git a/erpnext/setup/demo.py b/erpnext/setup/demo.py index 46500da..882ed37 100644 --- a/erpnext/setup/demo.py +++ b/erpnext/setup/demo.py
@@ -28,7 +28,7 @@ def create_demo_company(): - company = erpnext.get_default_company() + company = frappe.db.get_all("Company")[0].name company_doc = frappe.get_doc("Company", company) # Make a dummy company