[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()
|
make_sample_data()
|
||||||
frappe.clear_cache()
|
frappe.clear_cache()
|
||||||
except FiscalYearError:
|
except FiscalYearError:
|
||||||
|
# clear message
|
||||||
|
if frappe.message_log:
|
||||||
|
frappe.message_log.pop()
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user