Browse Source

Removed deprecated RegistryManager

pull/106/head
Andrea 7 years ago
parent
commit
473f946148
  1. 3
      bi_view_editor/models/ir_model.py

3
bi_view_editor/models/ir_model.py

@ -3,7 +3,6 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import api, models from odoo import api, models
from odoo.modules.registry import RegistryManager
NO_BI_MODELS = [ NO_BI_MODELS = [
'temp.range', 'temp.range',
@ -289,6 +288,6 @@ class IrModel(models.Model):
self.pool.setup_models(self._cr, partial=(not self.pool.ready)) self.pool.setup_models(self._cr, partial=(not self.pool.ready))
# signal that registry has changed # signal that registry has changed
RegistryManager.signal_registry_change(self.env.cr.dbname)
self.pool.signal_registry_change()
return res return res
Loading…
Cancel
Save