Components

Components

by Contaura LLC · original work by Camptocamp, OCA
component
$ 79.00

Add capabilities to register and use decoupled components, as an alternative to model classes

1.0

One purchase covers every version. Already bought it? Sign in.

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:

You may also want to check the Introduction to Tulio Components by @guewen.

Table of contents

Usage

As a developer, you have access to a component system. You can find the documentation in the code or on

In a nutshell, you can create components:

from tulio.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)

Changelog

12.0.1.0.0 (2018-10-02)

  • [MIGRATION] from 11.0 branched at rev. 324e006
Technical namecomponent
Module version12.0.1.1.1
Tulio versions1.0
CategoryTools
PublisherContaura LLC
Ported to Tulio, tested and supported by Contaura LLC.
Original authorsCamptocamp, OCA
LicenseLGPL-3
Open source: you may use, change and share this module under its license. The price covers the Tulio port, its testing on Tulio 1.0 and the download.
Python librariescachetools
Install them on the server with pip before installing the module.
Requires (Tulio core)base
Lines of code1,894
Downloads0
Released12/06/2026
12.0.1.1.1 Tulio 1.0 · 12/06/2026