summaryrefslogtreecommitdiff
path: root/addons/test_mass_mailing/tests/test_performance.py
diff options
context:
space:
mode:
authorDavid Beguin <dbe@odoo.com>2018-10-26 12:47:27 +0000
committerDavid Beguin <dbe@odoo.com>2018-11-20 11:37:05 +0000
commitfc2a8d63ee09053f12493683400ec424cab8ce16 (patch)
treedd01ccecc2982d25c46cb12a19fd601be8c8c420 /addons/test_mass_mailing/tests/test_performance.py
parent0fe50a01d2d4969f2a4cf85c36c2884407ccc682 (diff)
[IMP] mail, mass_mailing, mass_mailing_crm : Use normalized email in unsubscribe link
Use the email_normalized from mail.address.mixin if available to get always a normalized email address in the unsubscribe link. That allows to simplify the search on email address in the controllers -> Check blacklist, send feedback, etc.. Task ID 1896677
Diffstat (limited to 'addons/test_mass_mailing/tests/test_performance.py')
-rw-r--r--addons/test_mass_mailing/tests/test_performance.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/test_mass_mailing/tests/test_performance.py b/addons/test_mass_mailing/tests/test_performance.py
index 8fc27fe8cfb..54f9df307b3 100644
--- a/addons/test_mass_mailing/tests/test_performance.py
+++ b/addons/test_mass_mailing/tests/test_performance.py
@@ -49,7 +49,7 @@ class TestMassMailPerformance(TestMassMailPerformanceBase):
'mailing_domain': [('id', 'in', self.mm_recs.ids)],
})
- with self.assertQueryCount(__system__=2433, marketing=3089):
+ with self.assertQueryCount(__system__=2435, marketing=3091):
mailing.send_mail()
self.assertEqual(mailing.sent, 50)