summaryrefslogtreecommitdiff
path: root/addons/mass_mailing/controllers/main.py
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2019-07-16 09:14:17 +0000
committerMartin Trigaux <mat@odoo.com>2019-07-16 09:14:17 +0000
commitcf8e74a1a7d3404f57798573e8b15ce4dc5b9be4 (patch)
treebd95e9d20aff9b4f92550bffb2835a55c3698c27 /addons/mass_mailing/controllers/main.py
parentb67a3bb403b80e98a2b66dcb8cf570d2b156fb68 (diff)
parent1bd434da34731b5467cc17fdffe6f3ed5dfea2d4 (diff)
[MERGE] Forward port of 12.0 to saas-12.2 up to 1bd434da34731b546
closes odoo/odoo#34901 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/mass_mailing/controllers/main.py')
-rw-r--r--addons/mass_mailing/controllers/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mass_mailing/controllers/main.py b/addons/mass_mailing/controllers/main.py
index 3c75c7934a3..fd954733e6f 100644
--- a/addons/mass_mailing/controllers/main.py
+++ b/addons/mass_mailing/controllers/main.py
@@ -22,7 +22,7 @@ class MassMailController(http.Controller):
model_display = mailing.mailing_model_id.display_name
blacklist_entry._message_log(description + " ({})".format(model_display))
- @http.route(['/unsubscribe_from_list'], type='http', website=True, multilang=False, auth='public')
+ @http.route(['/unsubscribe_from_list'], type='http', website=True, multilang=False, auth='public', sitemap=False)
def unsubscribe_placeholder_link(self, **post):
"""Dummy route so placeholder is not prefixed by language, MUST have multilang=False"""
raise werkzeug.exceptions.NotFound()