Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Available addons
----------------
addon | version | maintainers | summary
--- | --- | --- | ---
[component](component/) | 18.0.1.0.4 | <a href='https://github.com/guewen'><img src='https://github.com/guewen.png' width='32' height='32' style='border-radius:50%;' alt='guewen'/></a> | Add capabilities to register and use decoupled components, as an alternative to model classes
[component](component/) | 18.0.1.0.5 | <a href='https://github.com/guewen'><img src='https://github.com/guewen.png' width='32' height='32' style='border-radius:50%;' alt='guewen'/></a> | 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
Expand Down
2 changes: 1 addition & 1 deletion component/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion component/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion component/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ <h1>Components</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:95b2034f6c9423939b2265e953ba63d9df6b720a0811ed52a8d17204eab9240f
!! source digest: sha256:6eeb9ebb6f56f67df65ba7c6535721ee981eb7a3048c4c1ee77bc5fc7e391e7a
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/license-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/connector/tree/18.0/component"><img alt="OCA/connector" src="https://img.shields.io/badge/github-OCA%2Fconnector-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/connector-18-0/connector-18-0-component"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/connector&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module implements a component system and is a base block for the
Expand Down
8 changes: 4 additions & 4 deletions component/tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Loading