[IMP] website_slides: change confirmation messages for email
Purpose ======= Clean up messages related to email verification. Specification ============= Rephrase messages, add confirmation of email sent and let user change email. Do not show "Validation Email sent" if the current user changed their email address. PR: https://github.com/odoo/odoo/pull/77617 Task-2647065 closes odoo/odoo#77617 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
@@ -27,7 +27,7 @@ publicWidget.registry.websiteProfile = publicWidget.Widget.extend({
|
||||
params: {'redirect_url': $element.data('redirect_url')},
|
||||
}).then(function (data) {
|
||||
if (data) {
|
||||
self.$('button.validation_email_close').click();
|
||||
window.location = $element.data('redirect_url');
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user