From fbaf666f6f20dde163cc55d11c0a5d5fd816b0ad Mon Sep 17 00:00:00 2001 From: Julien Banken Date: Tue, 7 Sep 2021 07:10:27 +0000 Subject: [PATCH] [IMP] portal,auth_signup: improve the invitation portal email This commit will improve the wording and the layout of the invitation email sent to the users getting access to the portal. The signup link of the email will now be a button that emphasizes the call-to-action. We will also provide in the email another link that will allow the user to access the login page. This commit will also improve the wording of a placeholder in the portal backend. task-2573334 closes odoo/odoo#74210 Signed-off-by: Thibault Delavallee (tde) --- .../auth_signup/data/mail_template_data.xml | 2 +- addons/portal/data/mail_template_data.xml | 26 +++++++++---------- addons/portal/wizard/portal_wizard_views.xml | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/addons/auth_signup/data/mail_template_data.xml b/addons/auth_signup/data/mail_template_data.xml index 6d81d4c40ef..cbd1c50f824 100644 --- a/addons/auth_signup/data/mail_template_data.xml +++ b/addons/auth_signup/data/mail_template_data.xml @@ -143,7 +143,7 @@ % set website_url = object.get_base_url() Your Odoo domain is: ${website_url}
Your sign in email is: ${object.email}

- Never heard of Odoo? It’s an all-in-one business software loved by 3+ million users. It will considerably improve your experience at work and increase your productivity. + Never heard of Odoo? It’s an all-in-one business software loved by 7+ million users. It will considerably improve your experience at work and increase your productivity.

Have a look at the Odoo Tour to discover the tool.

diff --git a/addons/portal/data/mail_template_data.xml b/addons/portal/data/mail_template_data.xml index 004d917b33b..400ad7fa61c 100644 --- a/addons/portal/data/mail_template_data.xml +++ b/addons/portal/data/mail_template_data.xml @@ -3,9 +3,9 @@ - Portal: new user + Portal: User Invite - Your Odoo account at ${object.user_id.company_id.name} + Your account at ${object.user_id.company_id.name} ${object.user_id.email_formatted | safe} diff --git a/addons/portal/wizard/portal_wizard_views.xml b/addons/portal/wizard/portal_wizard_views.xml index 48eb7c14b79..8f0f1d15997 100644 --- a/addons/portal/wizard/portal_wizard_views.xml +++ b/addons/portal/wizard/portal_wizard_views.xml @@ -29,7 +29,7 @@ If necessary, you can fix any contact's email address directly in the list.
@@ -36,17 +36,17 @@
Dear ${object.user_id.name or ''},

- You have been given access to ${object.user_id.company_id.name}'s portal.
- Your login account data is: - - You can set or change your password via the following url: - + Welcome to ${object.user_id.company_id.name}'s Portal!

+ An account has been created for you with the following login: ${object.user_id.login}

+ Click on the button below to pick a password and activate your account. + ${object.wizard_id.welcome_message or ''}