summaryrefslogtreecommitdiff
path: root/addons/mass_mailing/models
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2019-04-09 12:16:06 +0200
committerChristophe Simonis <chs@odoo.com>2019-04-09 12:16:06 +0200
commit6c8e30cae6ca5e4fe12e287ebd29d76544be57a3 (patch)
treecce147099046ba971a817b2a5b70fbd2f054c9d0 /addons/mass_mailing/models
parent288d82a67137e206d30aaf572584e99cbee997b2 (diff)
parent6d4940675f18dbb98d1f3882863ee10e7a1e3a49 (diff)
[MERGE] forward port branch saas-12.1 up to 6d4940675f1
Diffstat (limited to 'addons/mass_mailing/models')
-rw-r--r--addons/mass_mailing/models/mass_mailing_stats.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/mass_mailing/models/mass_mailing_stats.py b/addons/mass_mailing/models/mass_mailing_stats.py
index 662b6adbaaf..f0d8a763438 100644
--- a/addons/mass_mailing/models/mass_mailing_stats.py
+++ b/addons/mass_mailing/models/mass_mailing_stats.py
@@ -66,14 +66,14 @@ class MailMailStats(models.Model):
stat.state = 'ignored'
elif stat.exception:
stat.state = 'exception'
- elif stat.sent:
- stat.state = 'sent'
elif stat.opened or stat.clicked:
stat.state = 'opened'
elif stat.replied:
stat.state = 'replied'
elif stat.bounced:
stat.state = 'bounced'
+ elif stat.sent:
+ stat.state = 'sent'
else:
stat.state = 'outgoing'