Files
odoo_source/addons/mass_mailing/data/digest_data.xml
T
Fabio Barbero 31e58ef720 [IMP] mass_mailing: allow responsible to turn off mailing reports
Purpose
=======
Allow users with enough access rights to disable next-day report on
mass mailing lists. The option has been added in the mass mailing
settings and is enabled by default. Mass mailing reports can also be
disabled with a "Turn off mailing reports" button in the report email
itself. Reports are enabled and disabled for all responsible.

Task-2692211

closes odoo/odoo#82430

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2022-01-10 08:46:31 +00:00

17 lines
670 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<template id="digest_mail_main" inherit_id="digest.digest_mail_main">
<xpath expr="//div[hasclass('by_odoo')]/t[last()]" position="after">
<t t-if="mailing_report_token">
–
<a t-attf-href="/mailing/report/unsubscribe?token=#{mailing_report_token}&amp;user_id=#{user_id}"
target="_blank" style="text-decoration: none;">
<span style="color: #8f8f8f;">Turn off Mailing Reports</span>
</a>
</t>
</xpath>
</template>
</data>
</odoo>