fix(ux): correct email account setup path in error message (#20513)

This commit is contained in:
Himanshu Shivhare 2023-03-30 17:57:00 +05:30 committed by GitHub
parent 9758781f80
commit 2cb492561a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -165,7 +165,7 @@ def _make(
if not comm.get_outgoing_email_account():
frappe.throw(
_(
"Unable to send mail because of a missing email account. Please setup default Email Account from Setup > Email > Email Account"
"Unable to send mail because of a missing email account. Please setup default Email Account from Settings > Email Account"
),
exc=frappe.OutgoingEmailError,
)

View file

@ -325,7 +325,7 @@ class EmailAccount(Document):
if _raise_error:
frappe.throw(
_("Please setup default Email Account from Setup > Email > Email Account"),
_("Please setup default Email Account from Settings > Email Account"),
frappe.OutgoingEmailError,
)

View file

@ -70,7 +70,7 @@ class SMTPServer:
if not self.server:
frappe.msgprint(
_(
"Email Account not setup. Please create a new Email Account from Setup > Email > Email Account"
"Email Account not setup. Please create a new Email Account from Settings > Email Account"
),
raise_exception=frappe.OutgoingEmailError,
)