[minor] Setup Wizard sample data: Clear Fiscal Year Error message
This commit is contained in:
parent
bb514467f6
commit
4fcf7bf01a
@ -48,6 +48,10 @@ def setup_complete(args=None):
|
||||
make_sample_data()
|
||||
frappe.clear_cache()
|
||||
except FiscalYearError:
|
||||
# clear message
|
||||
if frappe.message_log:
|
||||
frappe.message_log.pop()
|
||||
|
||||
pass
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user