commit | 4fcf7bf01aa8ba08d086c4eefb7887740b1dd58c | [log] [tgz] |
---|---|---|
author | Anand Doshi <anand@erpnext.com> | Wed Feb 10 14:16:01 2016 +0530 |
committer | Anand Doshi <anand@erpnext.com> | Wed Feb 10 14:35:48 2016 +0530 |
tree | c7cd06ee10cc0ced7086024035817c05339d4491 | |
parent | bb514467f6b3189b1593214f193a66aebf36422c [diff] |
[minor] Setup Wizard sample data: Clear Fiscal Year Error message
diff --git a/erpnext/setup/setup_wizard/setup_wizard.py b/erpnext/setup/setup_wizard/setup_wizard.py index 049c1e9..8b0189f 100644 --- a/erpnext/setup/setup_wizard/setup_wizard.py +++ b/erpnext/setup/setup_wizard/setup_wizard.py
@@ -48,6 +48,10 @@ make_sample_data() frappe.clear_cache() except FiscalYearError: + # clear message + if frappe.message_log: + frappe.message_log.pop() + pass