commit | 612e58dca8f11c059e510166af3f4bde3e56ca95 | [log] [tgz] |
---|---|---|
author | Chinmay D. Pai <chinmaydpai@gmail.com> | Thu Mar 05 10:08:43 2020 +0530 |
committer | Chinmay D. Pai <chinmaydpai@gmail.com> | Thu Mar 05 10:08:43 2020 +0530 |
tree | c3b3e7fd635cfe6d17b1123aca9016202aa63d52 | |
parent | 6dc335d89891a26943ee30344e926c4e10c50d73 [diff] |
fix: use ERPNext in welcome email when default company is not set Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
diff --git a/erpnext/setup/utils.py b/erpnext/setup/utils.py index 439e6a5..13269a8 100644 --- a/erpnext/setup/utils.py +++ b/erpnext/setup/utils.py
@@ -142,6 +142,6 @@ raise def welcome_email(): - site_name = get_default_company() + site_name = get_default_company() or "ERPNext" title = _("Welcome to {0}").format(site_name) return title