summaryrefslogtreecommitdiff
path: root/odoo/modules/registry.py
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2018-06-14 17:29:56 +0200
committerChristophe Simonis <chs@odoo.com>2018-06-14 17:29:56 +0200
commit23a1bce2a9c3a7a9cbfbb4c554ebacb337d9470e (patch)
treea547ed9fafa293d2500f079aa91c045c22a8f396 /odoo/modules/registry.py
parent84acd427b8adc6f2c3dc3767ca8ee8f99e4ccbd7 (diff)
parent90165e2d96ac27dd1dbb2e367d47b8a38b7aea40 (diff)
[MERGE] forward port branch 9.0 up to 90165e2d96a
Diffstat (limited to 'odoo/modules/registry.py')
-rw-r--r--odoo/modules/registry.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/odoo/modules/registry.py b/odoo/modules/registry.py
index 9d06e34a49c..7bdff852c67 100644
--- a/odoo/modules/registry.py
+++ b/odoo/modules/registry.py
@@ -151,7 +151,6 @@ class Registry(Mapping):
""" Delete the registry linked to a given database. """
with cls._lock:
if db_name in cls.registries:
- cls.registries[db_name].clear_caches()
del cls.registries[db_name]
@classmethod