mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
Removed deprecated RegistryManager
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user