Synchronizer

connector.unit.synchronizer.DeleteSynchronizer

alias of connector.unit.synchronizer.Deleter

class connector.unit.synchronizer.Deleter(connector_env)[source]

Bases: connector.unit.synchronizer.Synchronizer

Synchronizer for deleting a record on the backend

connector.unit.synchronizer.ExportSynchronizer

alias of connector.unit.synchronizer.Exporter

class connector.unit.synchronizer.Exporter(connector_env)[source]

Bases: connector.unit.synchronizer.Synchronizer

Synchronizer for exporting data from OpenERP to a backend

connector.unit.synchronizer.ImportSynchronizer

alias of connector.unit.synchronizer.Importer

class connector.unit.synchronizer.Importer(connector_env)[source]

Bases: connector.unit.synchronizer.Synchronizer

Synchronizer for importing data from a backend to OpenERP

class connector.unit.synchronizer.Synchronizer(connector_env)[source]

Bases: connector.connector.ConnectorUnit

Base class for synchronizers

backend_adapter

Return an instance of BackendAdapter for the synchronization.

The instanciation is delayed because some synchronisations do not need such an unit and the unit may not exist.

Return type:connector.unit.backend_adapter.BackendAdapter
binder

Return an instance of Binder for the synchronization.

The instanciation is delayed because some synchronisations do not need such an unit and the unit may not exist.

Return type:connector.unit.binder.Binder
mapper

Return an instance of Mapper for the synchronization.

The instanciation is delayed because some synchronisations do not need such an unit and the unit may not exist.

Return type:connector.unit.mapper.Mapper
run()[source]

Run the synchronization