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

[FIX] mass_mailing: have unsubscribe in multi lang #24912

Merged
merged 1 commit into from
May 25, 2018

Conversation

nle-odoo
Copy link
Contributor

Since 953a693 link not corresponding to a route are tought multilang
by default.

Thus in the mass mailing, if the user had not the default language on
the website he would have eg. a /fr_FR/unsubscribe_from_list placeholder
in the mail.

The placeholder is replaced by a real link pinpointing to the items the
given person would unsubscribe to, but having /fr_FR/ part prevented
that.

With this PR, there is a dummy route so /unsubscribe_from_list is
explicitely known as not multilang.

Co-authored-by: Goffin Simon sig@odoo.com

opw-1850696

@nle-odoo nle-odoo added the OE the report is linked to a support ticket (opw-...) label May 25, 2018
@nle-odoo nle-odoo force-pushed the 11.0-mass-mailing-opw-1850696-nle branch from b04bfd1 to b819817 Compare May 25, 2018 09:13
@nle-odoo nle-odoo force-pushed the 11.0-mass-mailing-opw-1850696-nle branch from b819817 to 26823c3 Compare May 25, 2018 09:33
Since 953a693 link not corresponding to a route are tought multilang
by default.

Thus in the mass mailing, if the user had not the default language on
the website he would have eg. a /fr_FR/unsubscribe_from_list placeholder
in the mail.

The placeholder is replaced by a real link pinpointing to the items the
given person would unsubscribe to, but having /fr_FR/ part prevented
that.

With this PR, there is a dummy route so /unsubscribe_from_list is
explicitely known as not multilang.

opw-1850696
closes odoo#24912

Co-authored-by: Goffin Simon <sig@odoo.com>
@nle-odoo nle-odoo force-pushed the 11.0-mass-mailing-opw-1850696-nle branch from 26823c3 to 7703f1f Compare May 25, 2018 10:17
@nle-odoo nle-odoo merged commit 7703f1f into odoo:11.0 May 25, 2018
@nle-odoo nle-odoo deleted the 11.0-mass-mailing-opw-1850696-nle branch May 25, 2018 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OE the report is linked to a support ticket (opw-...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant