diff options
| author | Martin Trigaux <mat@odoo.com> | 2019-07-16 08:51:00 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2019-07-16 09:22:49 +0200 |
| commit | 1bd434da34731b5467cc17fdffe6f3ed5dfea2d4 (patch) | |
| tree | fbdc86c6a19502e3e38d21132c65cf21e20354f4 /addons/mass_mailing/controllers | |
| parent | c8d10d228e722e3476e845c58e966ff96cd9f5d7 (diff) | |
| parent | d8072d54acf81f9482145994f6453dd660580be0 (diff) | |
[MERGE] Forward port of saas-11.3 to 12.0 up to d8072d54acf8
Diffstat (limited to 'addons/mass_mailing/controllers')
| -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 18b8a814dac..30eaf30c8d6 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() |
