diff --git a/README.md b/README.md index 0e11ab393..f32271790 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Available addons ---------------- addon | version | maintainers | summary --- | --- | --- | --- -[component](component/) | 19.0.1.0.0 | guewen | Add capabilities to register and use decoupled components, as an alternative to model classes +[component](component/) | 19.0.1.0.1 | guewen | Add capabilities to register and use decoupled components, as an alternative to model classes [component_event](component_event/) | 19.0.1.0.0 | | Components Events [connector](connector/) | 19.0.1.0.0 | | Connector diff --git a/component/README.rst b/component/README.rst index 87bac4777..bbde97eed 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:b63945d684e8a6c044ec20bb71c7416401aa40cd08add380808c45cbaef56be4 + !! source digest: sha256:f4c2650eb68d9b099f19c5378dbcda1423050eba34d923714286b891d60ae5ea !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png diff --git a/component/__manifest__.py b/component/__manifest__.py index 128d583a1..13216f78f 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": "19.0.1.0.0", + "version": "19.0.1.0.1", "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 26d91325a..dcecc3e2a 100644 --- a/component/static/description/index.html +++ b/component/static/description/index.html @@ -372,7 +372,7 @@

Components

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:b63945d684e8a6c044ec20bb71c7416401aa40cd08add380808c45cbaef56be4 +!! source digest: sha256:f4c2650eb68d9b099f19c5378dbcda1423050eba34d923714286b891d60ae5ea !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Production/Stable License: LGPL-3 OCA/connector Translate me on Weblate Try me on Runboat

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 49133c4ee..ae2f5e498 100644 --- a/component/tests/common.py +++ b/component/tests/common.py @@ -46,10 +46,6 @@ def setUpComponent(cls): ) ) - # pylint: disable=W8106 - def setUp(self): - self.setUpComponentRegistryReady() - def setUpComponentRegistryReady(self): # should be ready only during tests, never during installation # of addons @@ -74,19 +70,9 @@ def setUpClass(cls): super().setUpClass() cls.setUpComponent() - # pylint: disable=W8106 def setUp(self): - # resolve an inheritance issue (common.TransactionCase does not call - # super) - common.TransactionCase.setUp(self) - ComponentMixin.setUp(self) - # There's no env on setUpClass of TransactionCase, must do it here. - self.env = self.env( - context=dict( - self.env.context, - components_registry=self._components_registry, - ) - ) + super().setUp() + self.setUpComponentRegistryReady() class ComponentRegistryCase: