From 473f946148705e8b371e8d1a7eca1d03c8e7fb4f Mon Sep 17 00:00:00 2001 From: Andrea Date: Wed, 12 Jul 2017 16:50:46 +0200 Subject: [PATCH] Removed deprecated RegistryManager --- bi_view_editor/models/ir_model.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bi_view_editor/models/ir_model.py b/bi_view_editor/models/ir_model.py index e8892915..ef303727 100644 --- a/bi_view_editor/models/ir_model.py +++ b/bi_view_editor/models/ir_model.py @@ -3,7 +3,6 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo import api, models -from odoo.modules.registry import RegistryManager NO_BI_MODELS = [ 'temp.range', @@ -289,6 +288,6 @@ class IrModel(models.Model): self.pool.setup_models(self._cr, partial=(not self.pool.ready)) # signal that registry has changed - RegistryManager.signal_registry_change(self.env.cr.dbname) + self.pool.signal_registry_change() return res