diff --git a/addons/mail/tests/test_mail_gateway.py b/addons/mail/tests/test_mail_gateway.py index 445244ff75a..27c79c801e2 100644 --- a/addons/mail/tests/test_mail_gateway.py +++ b/addons/mail/tests/test_mail_gateway.py @@ -147,7 +147,6 @@ class TestMailgateway(TestMailBase): self.assertEqual(mail.reply_to, 'other@example.com', 'mail_mail: reply_to should be equal to the one coming from creation values') # Do: create a mail_mail with the previous mail_message - self.mail_message.write(cr, uid, [msg_id], {'reply_to': 'other@example.com'}) msg.refresh() mail_id = self.mail_mail.create(cr, uid, {'mail_message_id': msg_id, 'state': 'cancel'}) mail = self.mail_mail.browse(cr, uid, mail_id)