diff options
| author | Martin Trigaux <mat@odoo.com> | 2019-07-16 16:02:41 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2019-07-16 16:36:40 +0200 |
| commit | beba36416fdf25df74cf8a581c66948a418173b6 (patch) | |
| tree | d24b8a373560afcc78bde4c9c06338800809abfa /addons/mass_mailing/controllers/main.py | |
| parent | 044904b9d50d61c5c7e5432a1b4615dda145704c (diff) | |
| parent | 40421be73c94551ba902856984c0155d062cb449 (diff) | |
[MERGE] Forward port of saas-12.3 to saas-12.4 up to 40421be73c94551b
Diffstat (limited to 'addons/mass_mailing/controllers/main.py')
| -rw-r--r-- | addons/mass_mailing/controllers/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mass_mailing/controllers/main.py b/addons/mass_mailing/controllers/main.py index fda77b95c95..3c760902856 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(body=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() |
