Merge pull request #20835 from Thunderbottom/welcome-email-fix
fix: use ERPNext in welcome email when default company is not set
This commit is contained in:
commit
d190cc0198
@ -142,6 +142,6 @@ def insert_record(records):
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user