mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-30 23:18:02 +00:00
[minor] [setup-wizard] add check for sample data
This commit is contained in:
@@ -86,10 +86,11 @@ def setup_account(args=None):
|
||||
|
||||
frappe.clear_cache()
|
||||
|
||||
try:
|
||||
make_sample_data()
|
||||
except FiscalYearError:
|
||||
pass
|
||||
if args.get("add_sample_data"):
|
||||
try:
|
||||
make_sample_data()
|
||||
except FiscalYearError:
|
||||
pass
|
||||
except:
|
||||
if args:
|
||||
traceback = frappe.get_traceback()
|
||||
|
||||
Reference in New Issue
Block a user