diff options
Diffstat (limited to 'addons/auth_signup/data/auth_signup_data.xml')
| -rw-r--r-- | addons/auth_signup/data/auth_signup_data.xml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/addons/auth_signup/data/auth_signup_data.xml b/addons/auth_signup/data/auth_signup_data.xml index 88852ce662b..5fe062a6d44 100644 --- a/addons/auth_signup/data/auth_signup_data.xml +++ b/addons/auth_signup/data/auth_signup_data.xml @@ -197,6 +197,58 @@ <field name="user_signature" eval="False"/> </record> + <!-- Email template for reminder of unregistered users --> + <record id="mail_template_data_unregistered_users" model="mail.template"> + <field name="name">Auth Signup: Unregistered Users</field> + <field name="model_id" ref="base.model_res_users"/> + <field name="subject">Reminder for unregistered users</field> + <field name="email_from">${object.company_id.partner_id.email_formatted|safe}</field> + <field name="email_to">${object.email_formatted|safe}</field> + <field name="body_html" type="html"> +<table border="0" cellpadding="0" cellspacing="0" style="background-color: #F1F1F1; font-family:Verdana, Arial,sans-serif; color: #454748; width: 100%; border-collapse:separate;"><tr><td align="center"> +<table border="0" cellpadding="0" cellspacing="0" width="590" style="padding: 16px; background-color: white; color: #454748; border-collapse:separate;"> +<tbody> + <!-- CONTENT --> + <tr> + <td align="center" style="min-width: 590px;"> + <table border="0" cellpadding="0" cellspacing="0" width="590" style="min-width: 590px; background-color: white; padding: 0px 8px 0px 8px; border-collapse:separate;"> + % set invited_users = ctx['invited_users'] + <td style="text-align : left"> + <span style="font-size: 20px; font-weight: bold;"> + Pending Invitations + </span><br/><br/> + </td> + <tr><td valign="top" style="font-size: 13px;"> + <div> + Dear ${object.name or ''},<br/> <br/> + You added the following user(s) to your database but they haven't registered yet: + <ul> + % for invited_user in invited_users: + <li>${invited_user}</li> + % endfor + </ul> + Follow up with them so they can access your database and start working with you. + <br /><br/> + Have a nice day!<br /> + --<br/>The ${object.company_id.name} Team + </div> + </td></tr> + <tr><td style="text-align:center;"> + <hr width="100%" style="background-color:rgb(204,204,204);border:medium none;clear:both;display:block;font-size:0px;min-height:1px;line-height:0; margin: 16px 0px 16px 0px;"/> + </td></tr> + </table> + </td> + </tr> +</tbody> +</table> +</td></tr> +</table> + </field> + <field name="lang">${object.partner_id.lang}</field> + <field name="auto_delete" eval="True"/> + <field name="user_signature" eval="False"/> + </record> + <!-- Email template for new users that used a signup token --> <record id="mail_template_user_signup_account_created" model="mail.template"> <field name="name">Auth Signup: Odoo Account Created</field> |
