diff --git a/web_pivot_computed_measure/tests/test_ui_pivot.py b/web_pivot_computed_measure/tests/test_ui_pivot.py index 4e6d57b8c488..962c243607aa 100644 --- a/web_pivot_computed_measure/tests/test_ui_pivot.py +++ b/web_pivot_computed_measure/tests/test_ui_pivot.py @@ -28,6 +28,11 @@ def setUpClass(cls): action = cls.env.ref("base.action_res_users") action.view_mode += ",pivot" + @classmethod + def tearDownClass(cls): + cls.loader.restore_registry() + return super().tearDownClass() + def test_ui(self): self.start_tour( "/web",