diff --git a/README.md b/README.md
index 08ad1bce0..e3a0c5c5d 100644
--- a/README.md
+++ b/README.md
@@ -21,7 +21,7 @@ Available addons
----------------
addon | version | maintainers | summary
--- | --- | --- | ---
-[component](component/) | 18.0.1.0.4 |
| Add capabilities to register and use decoupled components, as an alternative to model classes
+[component](component/) | 18.0.1.0.5 |
| Add capabilities to register and use decoupled components, as an alternative to model classes
[component_event](component_event/) | 18.0.1.0.0 | | Components Events
[connector](connector/) | 18.0.1.0.1 | | Connector
[connector_base_product](connector_base_product/) | 18.0.1.0.0 | | Connector Base Product
diff --git a/component/README.rst b/component/README.rst
index 2d384f5af..55e39d94a 100644
--- a/component/README.rst
+++ b/component/README.rst
@@ -11,7 +11,7 @@ Components
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- !! source digest: sha256:95b2034f6c9423939b2265e953ba63d9df6b720a0811ed52a8d17204eab9240f
+ !! source digest: sha256:6eeb9ebb6f56f67df65ba7c6535721ee981eb7a3048c4c1ee77bc5fc7e391e7a
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
diff --git a/component/__manifest__.py b/component/__manifest__.py
index b9676ae6e..b009f8c5e 100644
--- a/component/__manifest__.py
+++ b/component/__manifest__.py
@@ -5,7 +5,7 @@
"name": "Components",
"summary": "Add capabilities to register and use decoupled components,"
" as an alternative to model classes",
- "version": "18.0.1.0.4",
+ "version": "18.0.1.0.5",
"author": "Camptocamp," "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/connector",
"license": "LGPL-3",
diff --git a/component/static/description/index.html b/component/static/description/index.html
index 30b096fc0..c91c7dc0d 100644
--- a/component/static/description/index.html
+++ b/component/static/description/index.html
@@ -372,7 +372,7 @@
This module implements a component system and is a base block for the diff --git a/component/tests/common.py b/component/tests/common.py index 504fd52a8..3da76ba86 100644 --- a/component/tests/common.py +++ b/component/tests/common.py @@ -44,10 +44,6 @@ def setUpComponent(cls): cls.env.context, components_registry=cls._components_registry ) - # pylint: disable=W8106 - def setUp(self): - self.setUpComponentRegistryReady() - def setUpComponentRegistryReady(self): # should be ready only during tests, never during installation # of addons @@ -72,6 +68,10 @@ def setUpClass(cls): super().setUpClass() cls.setUpComponent() + def setUp(self): + super().setUp() + self.setUpComponentRegistryReady() + class ComponentRegistryCase: """This test case can be used as a base for writings tests on components