|
|
@ -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 |