From db5315efad9fa0d4d7a38807a466f8f2bcfe19f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Tue, 9 Nov 2021 16:46:24 +0000 Subject: [PATCH] [FIX] digest, mass_mailing: fix crash about impossible 'unsubscribe' Mailing statistics emails are build on digest layout. This layout contains a reference to the digest unsubscribe mechanism, which obviously does not work with mailing statistics emails as they currently have no opt-out mechanism. This commit fixes that part of the template so that unsubscribe is displayed only with digests. Task-2582128 (Digest onboarding and usage improvement) Task-2686586 (Repair mailing statistics email) X-original-commit: febe4506cf14ba9308d85538515eb61c4638b18d Part-of: odoo/odoo#79877 --- addons/digest/data/digest_data.xml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/addons/digest/data/digest_data.xml b/addons/digest/data/digest_data.xml index 927c827c93c..5a026dac495 100644 --- a/addons/digest/data/digest_data.xml +++ b/addons/digest/data/digest_data.xml @@ -399,8 +399,14 @@
- Sent by Odoo – - Unsubscribe + Sent by Odoo + + – + + Unsubscribe + +