diff --git a/muk_utils/__manifest__.py b/muk_utils/__manifest__.py index 3a02d96..2797ab5 100644 --- a/muk_utils/__manifest__.py +++ b/muk_utils/__manifest__.py @@ -19,7 +19,7 @@ { "name": "MuK Utils", "summary": """Utility Features""", - "version": '12.0.1.6.3', + "version": '12.0.1.6.4', "category": 'Extra Tools', "license": "AGPL-3", "author": "MuK IT", diff --git a/muk_utils/tests/common.py b/muk_utils/tests/common.py index e54e05b..3affd60 100644 --- a/muk_utils/tests/common.py +++ b/muk_utils/tests/common.py @@ -80,8 +80,10 @@ def multi_users(users=[['base.user_root', True], ['base.user_admin', True]], res 'error': None, }) if reset: - self.cr.execute('ROLLBACK TO SAVEPOINT test_multi_users') + self.env.cache.invalidate() + self.registry.clear_caches() self.registry.reset_changes() + self.cr.execute('ROLLBACK TO SAVEPOINT test_multi_users') else: self._cr.execute('RELEASE SAVEPOINT test_multi_users') test_fails = []