diff options
| author | Christophe Simonis <chs@odoo.com> | 2018-06-15 13:27:17 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2018-06-15 13:27:27 +0200 |
| commit | 73652a0b196b51ec1f9a27880d0b398fb79bfca3 (patch) | |
| tree | 04e741fefdbb859dffa66a4037da7777ea980476 /odoo/modules | |
| parent | 8a03563269c3dc55c9c7157494af51e2485f1a14 (diff) | |
| parent | 50860317ccd2c1b44f873598858a3cff87fa7ea6 (diff) | |
[MERGE] forward port branch saas-11.3 up to 50860317ccd
Note: 1aacc962620982528a3dfc90d2c1dd0027359375 has been ignored and will
be forward-ported later
Diffstat (limited to 'odoo/modules')
| -rw-r--r-- | odoo/modules/registry.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/odoo/modules/registry.py b/odoo/modules/registry.py index 9e180138a21..7dfead33210 100644 --- a/odoo/modules/registry.py +++ b/odoo/modules/registry.py @@ -149,9 +149,7 @@ class Registry(Mapping): """ Delete the registry linked to a given database. """ with cls._lock: if db_name in cls.registries: - registry = cls.registries.pop(db_name) - registry.clear_caches() - registry.registry_invalidated = True + cls.registries.pop(db_name) @classmethod def delete_all(cls): |
