Change color #a24689 to #875A7B Commit https://github.com/odoo/enterprise/commit/8ac1c19fac7615fecd51e670f798d13158a4e53c changed the odoo interface violet by changing the main LESS variable but forgot there was many direct occurences in XML/HTML/... (for example for the mobile browser color). Even if it's community the odoo interface violet is used at many places (module description, XML demo data, ...).
96 lines
5.6 KiB
XML
96 lines
5.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data noupdate="1">
|
|
|
|
<!-- Default template user for new users signing in -->
|
|
<record id="default_template_user" model="res.users">
|
|
<field name="name">Template User</field>
|
|
<field name="login">portaltemplate</field>
|
|
<field name="active" eval="False"/>
|
|
<!-- Avoid auto-including this user in any default group, just like a typical portal member -->
|
|
<field name="groups_id" eval="[(6, 0, [ref('base.group_portal')])]"/>
|
|
</record>
|
|
|
|
<record id="default_template_user_config" model="ir.config_parameter">
|
|
<field name="key">auth_signup.template_user_id</field>
|
|
<field name="value" ref="default_template_user"/>
|
|
</record>
|
|
|
|
<!-- Email template for reset password -->
|
|
<record id="reset_password_email" model="mail.template">
|
|
<field name="name">Auth Signup: Reset Password</field>
|
|
<field name="model_id" ref="base.model_res_users"/>
|
|
<field name="email_from"><![CDATA[${object.company_id.name} <${(object.company_id.email or user.email)|safe}>]]></field>
|
|
<field name="email_to">${object.email|safe}</field>
|
|
<field name="subject">Password reset</field>
|
|
<field name="body_html"><![CDATA[
|
|
<div style="padding:0px;width:600px;margin:auto;background: #FFFFFF repeat top /100%;color:#777777">
|
|
<table cellspacing="0" cellpadding="0" style="width:600px;border-collapse:collapse;background:inherit;color:inherit">
|
|
<tbody><tr>
|
|
<td valign="center" width="200" style="padding:10px 10px 10px 5px;font-size: 12px">
|
|
<img src="/logo.png" style="padding: 0px; margin: 0px; height: auto; width: 80px;" alt="${user.company_id.name}">
|
|
</td>
|
|
</tr></tbody>
|
|
</table>
|
|
</div>
|
|
<div style="padding:0px;width:600px;margin:auto;background: #FFFFFF repeat top /100%;color:#777777">
|
|
<p>Dear ${object.name},</p>
|
|
<p>A password reset was requested for the Odoo account linked to this email.</p>
|
|
<p>You may change your password by following this link which will remain valid during 24 hours:</p>
|
|
<div style="text-align: center; margin-top: 16px;">
|
|
<a href="${object.signup_url}" style="padding: 5px 10px; font-size: 12px; line-height: 18px; color: #FFFFFF; border-color:#875A7B; text-decoration: none; display: inline-block; margin-bottom: 0px; font-weight: 400; text-align: center; vertical-align: middle; cursor: pointer; white-space: nowrap; background-image: none; background-color: #875A7B; border: 1px solid #875A7B; border-radius:3px">Change password</a>
|
|
</div>
|
|
<p>If you do not expect this, you can safely ignore this email.</p>
|
|
<p>Best regards,</p>
|
|
</div>
|
|
<div style="padding:0px;width:600px;margin:auto; margin-top: 10px; background: #fff repeat top /100%;color:#777777">
|
|
${user.signature | safe}
|
|
<p style="font-size: 11px; margin-top: 10px;">
|
|
<strong>Sent by ${user.company_id.name} using <a href="www.odoo.com" style="text-decoration:none; color: #875A7B;">Odoo</a></strong>
|
|
</p>
|
|
</div>]]></field>
|
|
<field name="user_signature" eval="False"/>
|
|
</record>
|
|
|
|
<!-- Email template for new users -->
|
|
<record id="set_password_email" model="mail.template">
|
|
<field name="name">Auth Signup: Odoo Connection</field>
|
|
<field name="model_id" ref="base.model_res_users"/>
|
|
<field name="email_from"><![CDATA[${object.company_id.name} <${(object.company_id.email or user.email)|safe}>]]></field>
|
|
<field name="email_to">${object.email|safe}</field>
|
|
<field name="subject"><![CDATA[${object.company_id.name} invitation to connect on Odoo]]></field>
|
|
<field name="body_html"><![CDATA[
|
|
<div style="padding:0px;width:600px;margin:auto;background: #FFFFFF repeat top /100%;color:#777777">
|
|
<table cellspacing="0" cellpadding="0" style="width:600px;border-collapse:collapse;background:inherit;color:inherit">
|
|
<tbody><tr>
|
|
<td valign="center" width="200" style="padding:10px 10px 10px 5px;font-size: 12px">
|
|
<img src="/logo.png" style="padding: 0px; margin: 0px; height: auto; width: 80px;" alt="${user.company_id.name}">
|
|
</td>
|
|
</tr></tbody>
|
|
</table>
|
|
</div>
|
|
<div style="padding:0px;width:600px;margin:auto;background: #FFFFFF repeat top /100%;color:#777777">
|
|
<p>Dear ${object.name},</p>
|
|
<p>
|
|
You have been invited to connect to "${object.company_id.name}" in order to get access to your documents in Odoo.
|
|
</p>
|
|
<p>
|
|
To accept the invitation, click on the following link:
|
|
</p>
|
|
<div style="text-align: center; margin-top: 16px;">
|
|
<a href="${object.signup_url}" style="padding: 5px 10px; font-size: 12px; line-height: 18px; color: #FFFFFF; border-color:#875A7B; text-decoration: none; display: inline-block; margin-bottom: 0px; font-weight: 400; text-align: center; vertical-align: middle; cursor: pointer; white-space: nowrap; background-image: none; background-color: #875A7B; border: 1px solid #875A7B; border-radius:3px">Accept invitation to "${object.company_id.name}"</a>
|
|
</div>
|
|
<p>Best regards,</p>
|
|
</div>
|
|
<div style="padding:0px;width:600px;margin:auto; margin-top: 10px; background: #fff repeat top /100%;color:#777777">
|
|
${user.signature | safe}
|
|
<p style="font-size: 11px; margin-top: 10px;">
|
|
<strong>Sent by ${user.company_id.name} using <a href="www.odoo.com" style="text-decoration:none; color: #875A7B;">Odoo</a></strong>
|
|
</p>
|
|
</div>]]></field>
|
|
<field name="user_signature" eval="False"/>
|
|
</record>
|
|
|
|
</data>
|
|
</odoo>
|