From 62ed71ecdbd5a9b08f99c72237a03a6c0aa466b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Mart=C3=ADnez?= Date: Thu, 7 Mar 2024 16:38:18 +0100 Subject: [PATCH] [FIX] crm_phonecall*: Change SavepointCase to TransactionCase --- crm_phonecall/tests/test_crm_phonecall.py | 2 +- crm_phonecall_planner/tests/test_planner.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crm_phonecall/tests/test_crm_phonecall.py b/crm_phonecall/tests/test_crm_phonecall.py index 843572b202d..89b2299da73 100644 --- a/crm_phonecall/tests/test_crm_phonecall.py +++ b/crm_phonecall/tests/test_crm_phonecall.py @@ -4,7 +4,7 @@ from odoo.tests import Form, common -class TestCrmPhoneCall(common.SavepointCase): +class TestCrmPhoneCall(common.TransactionCase): """Unit test case of the Crm Phonecall module.""" @classmethod diff --git a/crm_phonecall_planner/tests/test_planner.py b/crm_phonecall_planner/tests/test_planner.py index 82dbdd8ff57..d4782520b8a 100644 --- a/crm_phonecall_planner/tests/test_planner.py +++ b/crm_phonecall_planner/tests/test_planner.py @@ -7,11 +7,11 @@ from odoo import fields from odoo.exceptions import ValidationError -from odoo.tests.common import SavepointCase +from odoo.tests.common import TransactionCase from odoo.tools import float_compare -class PlannerCase(SavepointCase): +class PlannerCase(TransactionCase): @classmethod def setUpClass(cls): super(PlannerCase, cls).setUpClass()