From 04e4e70bcb822d169cdee4fc702640b10a3a75ad Mon Sep 17 00:00:00 2001
From: Adrian Torres <adt@odoo.com>
Date: Sun, 24 Jan 2021 08:54:21 +0100
Subject: [PATCH] [FIX] base: prevent messing up existing registry

---
 odoo/modules/registry.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/odoo/modules/registry.py b/odoo/modules/registry.py
index e3c74d082a42..b18a59d6975b 100644
--- a/odoo/modules/registry.py
+++ b/odoo/modules/registry.py
@@ -100,6 +100,7 @@ class Registry(Mapping):
             registry._init = False
             registry.ready = True
             registry.registry_invalidated = bool(update_module)
+            registry.new = registry.init = registry.registries = None
 
         return registry
 
-- 
GitLab