|
| 1 | +<odoo> |
| 2 | + <!-- Override: New User Invite template branding --> |
| 3 | + <record id="auth_signup.set_password_email" model="mail.template"> |
| 4 | + <field name="name">Settings: New User Invite</field> |
| 5 | + <field name="model_id" ref="base.model_res_users"/> |
| 6 | + <field name="subject">{{ object.create_uid.name }} from {{ object.company_id.name }} invites you to connect to Viindoo</field> |
| 7 | + <field name="body_html" type="html"> |
| 8 | +<table border="0" cellpadding="0" cellspacing="0" style="padding-top: 16px; background-color: #FFFFFF; font-family:Verdana, Arial,sans-serif; color: #454748; width: 100%; border-collapse:separate;"><tr><td align="center"> |
| 9 | +<table border="0" cellpadding="0" cellspacing="0" width="590" style="padding: 16px; background-color: #FFFFFF; color: #454748; border-collapse:separate;"> |
| 10 | +<tbody> |
| 11 | + <!-- HEADER --> |
| 12 | + <tr> |
| 13 | + <td align="center" style="min-width: 590px;"> |
| 14 | + <table border="0" cellpadding="0" cellspacing="0" width="590" style="min-width: 590px; background-color: white; padding: 0px 8px 0px 8px; border-collapse:separate;"> |
| 15 | + <tr><td valign="middle"> |
| 16 | + <span style="font-size: 10px;">Welcome to Viindoo</span><br/> |
| 17 | + <span style="font-size: 20px; font-weight: bold;"> |
| 18 | + <t t-out="object.name or ''">Marc Demo</t> |
| 19 | + </span> |
| 20 | + </td><td valign="middle" align="right" t-if="not object.company_id.uses_default_logo"> |
| 21 | + <img t-attf-src="/logo.png?company={{ object.company_id.id }}" style="padding: 0px; margin: 0px; height: auto; width: 80px;" t-att-alt="object.company_id.name"/> |
| 22 | + </td></tr> |
| 23 | + <tr><td colspan="2" style="text-align:center;"> |
| 24 | + <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;"/> |
| 25 | + </td></tr> |
| 26 | + </table> |
| 27 | + </td> |
| 28 | + </tr> |
| 29 | + <!-- CONTENT --> |
| 30 | + <tr> |
| 31 | + <td align="center" style="min-width: 590px;"> |
| 32 | + <table border="0" cellpadding="0" cellspacing="0" width="590" style="min-width: 590px; background-color: white; padding: 0px 8px 0px 8px; border-collapse:separate;"> |
| 33 | + <tr><td valign="top" style="font-size: 13px;"> |
| 34 | + <div> |
| 35 | + Dear <t t-out="object.name or ''">Marc Demo</t>,<br /><br /> |
| 36 | + You have been invited by <t t-out="object.create_uid.name or ''">ViindooBot</t> of <t t-out="object.company_id.name or ''">YourCompany</t> to connect on Viindoo. |
| 37 | + <div style="margin: 16px 0px 16px 0px;"> |
| 38 | + <a t-att-href="object.partner_id._get_signup_url()" |
| 39 | + t-attf-style="background-color: {{object.company_id.email_secondary_color or '#875A7B'}}; padding: 8px 16px 8px 16px; text-decoration: none; color: #fff; border-radius: 5px; font-size:13px;"> |
| 40 | + Accept invitation |
| 41 | + </a> |
| 42 | + </div> |
| 43 | + <b> This link will remain valid during <t t-out="int(int(object.env['ir.config_parameter'].sudo().get_param('auth_signup.signup.validity.hours',144))/24)"></t> days </b> <br/> |
| 44 | + <t t-set="website_url" t-value="object.get_base_url()"></t> |
| 45 | + Your Viindoo domain is: <b><a t-att-href='website_url' t-out="website_url or ''">http://yourcompany.viindoo.com</a></b><br /> |
| 46 | + Your sign in email is: < b>< a t-attf-href= "/web/login?login={{ object.email }}" target= "_blank" t-out= "object.email or ''"> [email protected]</ a></ b>< br />< br /> |
| 47 | + Never heard of Viindoo? 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. |
| 48 | + <br /><br /> |
| 49 | + Have a look at the <a href="https://viindoo.com?utm_source=db&utm_medium=email" style="color: #875A7B;">Viindoo Tour</a> to discover the tool. |
| 50 | + <br /><br /> |
| 51 | + Enjoy Viindoo!<br /> |
| 52 | + --<br/>The <t t-out="object.company_id.name or ''">YourCompany</t> Team |
| 53 | + </div> |
| 54 | + </td></tr> |
| 55 | + <tr><td style="text-align:center;"> |
| 56 | + <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;"/> |
| 57 | + </td></tr> |
| 58 | + </table> |
| 59 | + </td> |
| 60 | + </tr> |
| 61 | + <!-- FOOTER --> |
| 62 | + <tr> |
| 63 | + <td align="center" style="min-width: 590px;"> |
| 64 | + <table border="0" cellpadding="0" cellspacing="0" width="590" style="min-width: 590px; background-color: white; font-size: 11px; padding: 0px 8px 0px 8px; border-collapse:separate;"> |
| 65 | + <tr><td valign="middle" align="left"> |
| 66 | + <t t-out="object.company_id.name or ''">YourCompany</t> |
| 67 | + </td></tr> |
| 68 | + <tr><td valign="middle" align="left" style="opacity: 0.7;"> |
| 69 | + <t t-out="object.company_id.phone or ''">+1 650-123-4567</t> |
| 70 | + <t t-if="object.company_id.email"> |
| 71 | + | < a t-att-href= "'mailto:%s' % object.company_id.email" style= "text-decoration:none; color: #454748;" t-out= "object.company_id.email or ''"> [email protected]</ a> |
| 72 | + </t> |
| 73 | + <t t-if="object.company_id.website"> |
| 74 | + | <a t-att-href="'%s' % object.company_id.website" style="text-decoration:none; color: #454748;" t-out="object.company_id.website or ''">http://www.example.com</a> |
| 75 | + </t> |
| 76 | + </td></tr> |
| 77 | + </table> |
| 78 | + </td> |
| 79 | + </tr> |
| 80 | +</tbody> |
| 81 | +</table> |
| 82 | +</td></tr> |
| 83 | +<!-- POWERED BY --> |
| 84 | +<tr><td align="center" style="min-width: 590px;"> |
| 85 | + <table border="0" cellpadding="0" cellspacing="0" width="590" style="min-width: 590px; background-color: #F1F1F1; color: #454748; padding: 8px; border-collapse:separate;"> |
| 86 | + <tr><td style="text-align: center; font-size: 13px;"> |
| 87 | + Powered by <a target="_blank" href="https://viindoo.com?utm_source=db&utm_medium=email" style="color: #875A7B;">Viindoo</a> |
| 88 | + </td></tr> |
| 89 | + </table> |
| 90 | +</td></tr> |
| 91 | +</table></field> |
| 92 | + </record> |
| 93 | + |
| 94 | + <!-- Override: Portal Sign Up template footer branding --> |
| 95 | + <record id="auth_signup.mail_template_user_signup_account_created" model="mail.template"> |
| 96 | + <field name="name">Settings: New Portal Sign Up</field> |
| 97 | + <field name="model_id" ref="base.model_res_users"/> |
| 98 | + <field name="body_html" type="html"> |
| 99 | +<table border="0" cellpadding="0" cellspacing="0" style="padding-top: 16px; background-color: #FFFFFF; font-family:Verdana, Arial,sans-serif; color: #454748; width: 100%; border-collapse:separate;"><tr><td align="center"> |
| 100 | +<table border="0" cellpadding="0" cellspacing="0" width="590" style="padding: 16px; background-color: #FFFFFF; color: #454748; border-collapse:separate;"> |
| 101 | +<tbody> |
| 102 | + <!-- HEADER --> |
| 103 | + <tr> |
| 104 | + <td align="center" style="min-width: 590px;"> |
| 105 | + <table border="0" cellpadding="0" cellspacing="0" width="590" style="min-width: 590px; background-color: white; padding: 0px 8px 0px 8px; border-collapse:separate;"> |
| 106 | + <tr><td valign="middle"> |
| 107 | + <span style="font-size: 10px;">Your Account</span><br/> |
| 108 | + <span style="font-size: 20px; font-weight: bold;"> |
| 109 | + <t t-out="object.name or ''">Marc Demo</t> |
| 110 | + </span> |
| 111 | + </td><td valign="middle" align="right" t-if="not object.company_id.uses_default_logo"> |
| 112 | + <img t-attf-src="/logo.png?company={{ object.company_id.id }}" style="padding: 0px; margin: 0px; height: auto; width: 80px;" t-att-alt="object.company_id.name"/> |
| 113 | + </td></tr> |
| 114 | + <tr><td colspan="2" style="text-align:center;"> |
| 115 | + <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;"/> |
| 116 | + </td></tr> |
| 117 | + </table> |
| 118 | + </td> |
| 119 | + </tr> |
| 120 | + <!-- CONTENT --> |
| 121 | + <tr> |
| 122 | + <td align="center" style="min-width: 590px;"> |
| 123 | + <table border="0" cellpadding="0" cellspacing="0" width="590" style="min-width: 590px; background-color: white; padding: 0px 8px 0px 8px; border-collapse:separate;"> |
| 124 | + <tr><td valign="top" style="font-size: 13px;"> |
| 125 | + <div> |
| 126 | + Dear <t t-out="object.name or ''">Marc Demo</t>,<br/><br/> |
| 127 | + Your account has been successfully created!<br/> |
| 128 | + Your login is < strong>< t t-out= "object.email or ''"> [email protected]</ t></ strong>< br/> |
| 129 | + To gain access to your account, you can use the following link: |
| 130 | + <div style="margin: 16px 0px 16px 0px;"> |
| 131 | + <a t-attf-href="/web/login?auth_login={{object.email}}" |
| 132 | + style="background-color: #875A7B; padding: 8px 16px 8px 16px; text-decoration: none; color: #fff; border-radius: 5px; font-size:13px;"> |
| 133 | + Go to My Account |
| 134 | + </a> |
| 135 | + </div> |
| 136 | + Thanks,<br/> |
| 137 | + <t t-if="user.signature"> |
| 138 | + <br/> |
| 139 | + <t t-out="user.signature or ''">--<br/>Mitchell Admin</t> |
| 140 | + </t> |
| 141 | + </div> |
| 142 | + </td></tr> |
| 143 | + <tr><td style="text-align:center;"> |
| 144 | + <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;"/> |
| 145 | + </td></tr> |
| 146 | + </table> |
| 147 | + </td> |
| 148 | + </tr> |
| 149 | + <!-- FOOTER --> |
| 150 | + <tr> |
| 151 | + <td align="center" style="min-width: 590px;"> |
| 152 | + <table border="0" cellpadding="0" cellspacing="0" width="590" style="min-width: 590px; background-color: white; font-size: 11px; padding: 0px 8px 0px 8px; border-collapse:separate;"> |
| 153 | + <tr><td valign="middle" align="left"> |
| 154 | + <t t-out="object.company_id.name or ''">YourCompany</t> |
| 155 | + </td></tr> |
| 156 | + <tr><td valign="middle" align="left" style="opacity: 0.7;"> |
| 157 | + <t t-out="object.company_id.phone or ''">+1 650-123-4567</t> |
| 158 | + <t t-if="object.company_id.email"> |
| 159 | + | < a t-attf-href= "'mailto:%s' % {{ object.company_id.email }}" style= "text-decoration:none; color: #454748;">< t t-out= "object.company_id.email or ''"> [email protected]</ t></ a> |
| 160 | + </t> |
| 161 | + <t t-if="object.company_id.website"> |
| 162 | + | <a t-attf-href="'%s' % {{ object.company_id.website }}" style="text-decoration:none; color: #454748;"> |
| 163 | + <t t-out="object.company_id.website or ''">http://www.example.com</t> |
| 164 | + </a> |
| 165 | + </t> |
| 166 | + </td></tr> |
| 167 | + </table> |
| 168 | + </td> |
| 169 | + </tr> |
| 170 | +</tbody> |
| 171 | +</table> |
| 172 | +</td></tr> |
| 173 | +<!-- POWERED BY --> |
| 174 | +<tr><td align="center" style="min-width: 590px;"> |
| 175 | + <table border="0" cellpadding="0" cellspacing="0" width="590" style="min-width: 590px; background-color: #F1F1F1; color: #454748; padding: 8px; border-collapse:separate;"> |
| 176 | + <tr><td style="text-align: center; font-size: 13px;"> |
| 177 | + Powered by <a target="_blank" href="https://viindoo.com?utm_source=db&utm_medium=email" style="color: #875A7B;">Viindoo</a> |
| 178 | + </td></tr> |
| 179 | + </table> |
| 180 | +</td></tr> |
| 181 | +</table> |
| 182 | + </field> |
| 183 | + </record> |
| 184 | +</odoo> |
0 commit comments