commit
aa5fc6f30d
|
@ -15,6 +15,7 @@ class RegistryPatch(OdooPatch):
|
||||||
method_names = ["init_models"]
|
method_names = ["init_models"]
|
||||||
|
|
||||||
def init_models(self, cr, model_names, context, install=True):
|
def init_models(self, cr, model_names, context, install=True):
|
||||||
|
if "module" in context:
|
||||||
module_name = context["module"]
|
module_name = context["module"]
|
||||||
_logger.debug("Logging models of module %s", module_name)
|
_logger.debug("Logging models of module %s", module_name)
|
||||||
upg_registry = current_thread()._upgrade_registry
|
upg_registry = current_thread()._upgrade_registry
|
||||||
|
|
Loading…
Reference in New Issue