From 49a26ca11b93c77f0722eda761333351ba100e17 Mon Sep 17 00:00:00 2001 From: angelJuaGar Date: Tue, 29 Jun 2021 00:48:24 +0000 Subject: [PATCH] [FIX] mail_tracking: Modification in unitest. --- mail_tracking/README.rst | 2 +- mail_tracking/tests/test_mail_tracking.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mail_tracking/README.rst b/mail_tracking/README.rst index 66e5dcf..c98c37c 100644 --- a/mail_tracking/README.rst +++ b/mail_tracking/README.rst @@ -23,7 +23,7 @@ Email tracking :target: https://runbot.odoo-community.org/runbot/205/14.0 :alt: Try me on Runbot -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| This module shows email notification tracking status for any messages in mail thread (chatter). Each notified partner will have an intuitive icon just diff --git a/mail_tracking/tests/test_mail_tracking.py b/mail_tracking/tests/test_mail_tracking.py index 759c93b..0e9b067 100644 --- a/mail_tracking/tests/test_mail_tracking.py +++ b/mail_tracking/tests/test_mail_tracking.py @@ -138,7 +138,7 @@ class TestMailTracking(TransactionCase): "body": "

This is a test message

", } ) - message._moderate_accept() + message.with_context(do_not_send_copy=True)._moderate_accept() # Search tracking created tracking_email = self.env["mail.tracking.email"].search( [