From aa54457fe87f53d4de5879f61ede71e0cfbe8a35 Mon Sep 17 00:00:00 2001 From: Siddarth Gajjar Date: Fri, 27 Apr 2018 15:53:44 +0530 Subject: [PATCH] [IMP] auth_signup: make password set template a catchy first contact template I think spec is pretty clear: "The current email to invite new users is poor and not catchy! Such email is the first contact with Odoo for most users. It needs to be perfect!"" This commit is related to task ID 1839609. Closes #24576. --- addons/auth_signup/data/auth_signup_data.xml | 119 ++++++++++++++----- 1 file changed, 87 insertions(+), 32 deletions(-) diff --git a/addons/auth_signup/data/auth_signup_data.xml b/addons/auth_signup/data/auth_signup_data.xml index 72cb1fa30f0..c0203a52a12 100644 --- a/addons/auth_signup/data/auth_signup_data.xml +++ b/addons/auth_signup/data/auth_signup_data.xml @@ -42,38 +42,93 @@ Auth Signup: Odoo Connection - ]]> - ${object.email|safe} - - - - - - -
- ${user.company_id.name} -
- -
-

Dear ${object.name},

-

- You have been invited to connect to "${object.company_id.name}" in order to get access to your documents in Odoo. -

-

- To accept the invitation, click on the following link: -

- -

Best regards,

-
-
- ${user.signature | safe} -

- Sent by ${user.company_id.name} using Odoo -

-
]]>
+ "${object.company_id.name|safe}" <${object.company_id.email or user.email|safe}> + "${object.name}" <${object.email|safe}> + ${object.create_uid.name} from ${object.company_id.name} invites you to connect to Odoo + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + +
+ + Welcome to Odoo! + + + +
+
+
+
+ + + + +
+
+ Dear ${object.name}, +
+
+ You have been invited by ${object.create_uid.name} of ${object.company_id.name} to connect on Odoo. +
+
+ Accept invitation +
+
+ % set website_url = object.env['ir.config_parameter'].sudo().get_param('web.base.url') + Your Odoo domain is:
+ ${website_url} +
+
+ Your sign in email is:
+ ${object.email} +
+
+
+ Never heard of Odoo? It’s a all-in-one business software loved by 3+ 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. +
+
+ Enjoy Odoo! +
+
+ --
The ${object.company_id.name} Team +
+
+
+
+ + + + +
+ Powered by Odoo +
+