diff --git a/product/ERP5Type/dynamic/component_package.py b/product/ERP5Type/dynamic/component_package.py index b2a99c99610a2b754cb1bfc3cd24a43ce34105e7..5fdc394d27135cf25fd504769bfa14b24d3d22ac 100644 --- a/product/ERP5Type/dynamic/component_package.py +++ b/product/ERP5Type/dynamic/component_package.py @@ -232,7 +232,7 @@ class ComponentDynamicPackage(ModuleType): except AttributeError: pass else: - setattr(self._getVersionPackage(version), name, module) + setattr(self, name, module) return module module_fullname_alias = self._namespace + '.' + name