[FIX] mail_tracking: Modification in unitest.

This commit is contained in:
angelJuaGar 2021-06-29 00:48:24 +00:00 committed by Jasmin Solanki
parent 7f964d9386
commit 49a26ca11b
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -138,7 +138,7 @@ class TestMailTracking(TransactionCase):
"body": "<p>This is a test message</p>",
}
)
message._moderate_accept()
message.with_context(do_not_send_copy=True)._moderate_accept()
# Search tracking created
tracking_email = self.env["mail.tracking.email"].search(
[