diff --git a/crm_project/tests/test_crm_project.py b/crm_project/tests/test_crm_project.py index a6e2080d5ef..29ef20f79ba 100644 --- a/crm_project/tests/test_crm_project.py +++ b/crm_project/tests/test_crm_project.py @@ -9,6 +9,16 @@ class TestCrmProject(common.TransactionCase): @classmethod def setUpClass(cls): super().setUpClass() + cls.env = cls.env( + context=dict( + cls.env.context, + mail_create_nolog=True, + mail_create_nosubscribe=True, + mail_notrack=True, + no_reset_password=True, + tracking_disable=True, + ) + ) cls.lead = cls.env["crm.lead"].create( { "name": "Test lead",