[FIX] mass_mailing: do not remove ignored traces from expected count
Partial backport of odoo/odoo@3e6bbedb64 . Purpose is to have expected being all traces generated at beginning of mailing. Ignored should not be removed from that expected count. LINKS Task ID-2508643 Prepares Task ID-27033 (support QWeb in templates) Prepares Task ID-2377974 (clean trace and status management in mass mailing) COM PR odoo/odoo#69461 ENT PR odoo/enterprise#17780 X-original-commit: 0ea1b0099dcd31b3a9d7639feca6992c811a0b29
This commit is contained in:
@@ -119,4 +119,4 @@ class TestMassMailing(TestMailFullCommon):
|
||||
check_mail=True,)
|
||||
|
||||
# sent: 13, 2 bl, 2 opt-out, 3 invalid -> 6 remaining
|
||||
self.assertMailingStatistics(mailing, expected=6, delivered=6, sent=6, ignored=7)
|
||||
self.assertMailingStatistics(mailing, expected=13, delivered=6, sent=6, ignored=7)
|
||||
|
||||
Reference in New Issue
Block a user