Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMP] auth_signup: Imporve odoo connect template to with new layout. #24576

Merged

Conversation

@sga-odoo sga-odoo force-pushed the master-auth-signup-mail-template-sga branch from 0e83bce to 73a77c0 Compare May 4, 2018 12:53
@sga-odoo sga-odoo force-pushed the master-auth-signup-mail-template-sga branch from 73a77c0 to e80351d Compare May 4, 2018 13:19
@sga-odoo sga-odoo force-pushed the master-auth-signup-mail-template-sga branch from e80351d to 8abbb6d Compare May 7, 2018 06:57
@C3POdoo C3POdoo added the RD research & development, internal work label May 7, 2018
@sga-odoo sga-odoo force-pushed the master-auth-signup-mail-template-sga branch from 8abbb6d to be12a1a Compare May 10, 2018 11:08
@sga-odoo sga-odoo force-pushed the master-auth-signup-mail-template-sga branch from be12a1a to 255e7bc Compare May 14, 2018 11:38
@sga-odoo sga-odoo force-pushed the master-auth-signup-mail-template-sga branch from 255e7bc to 9da6b58 Compare May 14, 2018 11:39
@pga-odoo
Copy link
Contributor

LGTM

Copy link
Contributor

@tde-banana-odoo tde-banana-odoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technical review

</span>
</td>
<td valign="middle" align="right">
<img src="/web/static/src/img/logo.png" style="padding: 0px; margin: 0px; height: auto; width: 80px;"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we use company-specific logo ?

<field name="subject"><![CDATA[${object.create_uid.name} has invited you to connect to Odoo]]></field>
<field name="body_html" type="html">
<table border="0" cellpadding="0" style="padding-top: 16px; background-color: #F1F1F1; font-family:Verdana, Arial,sans-serif; color: #454748; width: 100%; border-collapse:separate;">
% set website_url = object.env['ir.config_parameter'].get_param('web.base.url')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whut ? Why are you using website url as "odoo domain" ?

<a href="${object.signup_url}" style="padding: 12px; color: #FFFFFF; border-color:#875A7B; text-decoration: none; display: inline-block; text-align: center; cursor: pointer; background-image: none; background-color: #875A7B; border: 1px solid #875A7B; border-radius:3px;">Accept invitation</a>
<br/>
<div style="margin-top:15px; margin-bottom:15px;">
Your Odoo domain is: <br/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is an Odoo domain ?

@sga-odoo sga-odoo force-pushed the master-auth-signup-mail-template-sga branch from 9da6b58 to 883443e Compare May 16, 2018 09:19
@tde-banana-odoo tde-banana-odoo force-pushed the master-auth-signup-mail-template-sga branch from 883443e to 62bbf30 Compare May 25, 2018 09:52
@tde-banana-odoo tde-banana-odoo force-pushed the master-auth-signup-mail-template-sga branch from cdbda1e to 3fe6d8b Compare May 28, 2018 09:26
@tde-banana-odoo tde-banana-odoo force-pushed the master-auth-signup-mail-template-sga branch from 3fe6d8b to a7b9f03 Compare May 28, 2018 09:54
@tde-banana-odoo tde-banana-odoo force-pushed the master-auth-signup-mail-template-sga branch from a7b9f03 to 92d0325 Compare May 28, 2018 10:52
@tde-banana-odoo tde-banana-odoo force-pushed the master-auth-signup-mail-template-sga branch from 92d0325 to 344eefd Compare May 28, 2018 10:56
@tde-banana-odoo tde-banana-odoo force-pushed the master-auth-signup-mail-template-sga branch from 344eefd to aa54457 Compare May 28, 2018 11:32
tde-banana-odoo added a commit to odoo-dev/odoo that referenced this pull request May 28, 2018
Even completely valid simple email like alfred+toto@example.com was not
considered as valid. As email may contain a lot of characters and strange
stuff let us be less strict on validation.

This commit is related to task ID 1839609. Closes odoo#24576.
@tde-banana-odoo tde-banana-odoo deleted the master-auth-signup-mail-template-sga branch May 28, 2018 11:34
@tde-banana-odoo tde-banana-odoo merged commit aa54457 into odoo:master May 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants