summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorSébastien Mottet (oms) <oms@odoo.com>2020-04-20 15:02:30 +0000
committerThibault Delavallée <tde@odoo.com>2020-08-05 13:55:04 +0000
commitac0579263bc2996321f55cb20da3332f027dbb36 (patch)
tree56e47c6bded008e4833c87e52ba5e35a125eb04d /addons/web/static/src/xml/base.xml
parent0809601d6da21fcf00be3ad4b28cbcf350c7d09d (diff)
[IMP] mass_mailing: add 'view in browser' link in mailings
PURPOSE Add a block that allows recipients to check the email in a browser in case their mail service provider does not render it well or to see it full screen. SPECIFICATIONS A thumbnail has been added in the snippet thumbnails list of the mail editor. It allows to add an header snippet. This snippet contains a link allowing the recipient to see the mail in its browser instead of its mail client. Add a route to display a mailing content. This route should be recipient dependent as mailings could contain jinja markers. Using the same access token and check as unsubscribe route this public route allows to display a mailing content directly rendered for a given customer. _get_unsubscribe_url method is moved from mail_mail to mailing as it does not really belong to the mail model. Indeed it is mailing dependent. A view URL leading to the view in browser route is added. It is managed like the unsubscribe url: magically avoid shortening, magically rewrite when sending email. Task ID-2239327 PR #49886
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions