[IMP] mass_mailing: a/b testing wording improvements

- Add an alert message for A/B testing when no mail is sent in the
form view with the chatter.
- Add the final suffix in the name of the final mailing send for an
A/B testing campaign source.

task-2713198

Part-of: odoo/odoo#88997
This commit is contained in:
Jérémy Hennecart (jeh)
2023-07-17 12:05:47 +02:00
committed by Pratik Raval (PRRA)
parent 711024339f
commit 84316403ac
@@ -108,6 +108,9 @@
<data noupdate="0">
<template id="ab_testing_description" name="Mass Mailing: A/B Test Description">
<div name="ab_testing_description" class="mb-2">
<t t-if="mailing.state == 'done' and mailing.sent == 0 and mailing.failed == 0 and mailing.canceled == 0">
<span>There wasn't enough recipients left for this mailing</span>
</t>
<t t-if="mailing.ab_testing_completed">
<p t-if="mailing.ab_testing_is_winner_mailing">
This <t t-out="mailing.mailing_type_description"/> is the winner of the A/B testing campaign and has been sent to all remaining recipients.