diff options
| author | Martin Trigaux <mat@odoo.com> | 2019-07-16 15:45:24 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2019-07-16 15:45:24 +0000 |
| commit | 5d57e1862f3d178313534fc201216fdd31e5247d (patch) | |
| tree | 1d78d498b6805baa9979f3b0860b669c9346c765 /addons/mass_mailing/controllers/main.py | |
| parent | 02c48e71f06ba335dcbde020d7fe28663e1afd00 (diff) | |
| parent | beba36416fdf25df74cf8a581c66948a418173b6 (diff) | |
[MERGE] Forward port of saas-12.4 to master up to beba36416fdf2
closes odoo/odoo#34924
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.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 a03435fddef..0d3c563bc6a 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() |
