Components
This module implements a component system and is a base block for the Connector Framework. It can be used without using the full Connector though.
Documentation: http://odoo-connector.com/
Installation
Install component
Configuration
The module does nothing by itself and has no configuration.
Usage
As a developer, you have access to a component system. You can find the documentation in the code or on http://odoo-connector.com
In a nutshell, you can create components:
from odoo.addons.component.core import Component
class MagentoPartnerAdapter(Component):
_name = 'magento.partner.adapter'
_inherit = 'magento.adapter'
_usage = 'backend.adapter'
_collection = 'magento.backend'
_apply_on = ['res.partner']
And later, find the component you need at runtime (dynamic dispatch at component level):
def run(self, external_id):
backend_adapter = self.component(usage='backend.adapter')
external_data = backend_adapter.read(external_id)
Known issues / Roadmap
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smash it by providing detailed and welcomed feedback.
Credits
Images
Odoo Community Association: Icon.
Contributors
Guewen Baconnier <guewen.baconnier@camptocamp.com>
Do not contact contributors directly about support or help with technical issues.
Maintainer
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
To contribute to this module, please visit https://odoo-community.org.
Metadata
Release files for odoo11-addon-component 11.0.1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| odoo11_addon_component-11.0.1.2.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Release files / odoo11_addon_component-11.0.1.2.0-py2.py3-none-any.whl
| Download URL | odoo11_addon_component-11.0.1.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 49.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ec33538bb0168bd036187922a2c41e1fa20303421dc023909b9d9b463ed2c3b8
|
|
BLAKE2b-256 checksum How to use checksums |
f5a1c20f0f2abade234310286739d699ca1df2d6f79961b8918eb76e76e42c81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/57.4.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.5
|