diff options
| author | Christophe Simonis <chs@odoo.com> | 2018-06-14 21:28:39 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2018-06-14 21:28:39 +0200 |
| commit | b05e4d5f958892a9ff644b28a4ee165aeb2ea247 (patch) | |
| tree | 49c4237e12ae99f3f78e4b496b27dae4455db800 /odoo/modules | |
| parent | 5ac40752a4845340c4bd582075caaf0dd478d639 (diff) | |
| parent | a53bea49fe4005e3faaa3e63888da65a45281dd5 (diff) | |
[MERGE] forward port branch saas-15 up to a53bea49fe4
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 1cbe67bd5c3..8122ae4100a 100644 --- a/odoo/modules/registry.py +++ b/odoo/modules/registry.py @@ -153,9 +153,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): |
