This module is part of the OpenERP software, the leading Open Source
enterprise management system. If you want to discover OpenERP, check our
screencasts or download
OpenERP directly.
Base External Referentials (base_external_referentials)¶
Module:
base_external_referentials
Name:
Base External Referentials
Version:
5.0.1.0
Author:
Raphaël Valyi (Akretion.com), Sharoon Thomas (Openlabs.co.in)
This module provide an abstract common minimal base to add any additional external id columns
to some OpenObject table, pointing to some external referential.
A referential is abstract and minimal at this stage, it only has:
* a name
* a location (possibly webservice URL, database connection URL...); the connection method will tell it...
* referential credentials (user name + password)
* placeholders for custom in and out mapping for OpenERP object fields.
OpenERP already has limited supported to external ids using the ir_model_data and the id
fields in the loaded data such as XML or CSV. We think that's OK to store all referential ids
into the same ir_model_data table: yes it makes it large, but synchronisation operations involve
a network bottleneck anyway, so it's largely OK and negligible to have a large table here.
The existing ir_model_data feature of OpenERP is mostly thought as an mono-external referential
(even if the module key of ir_model_data plays some referential scoping role). Here we just push
the concept further to assume multiple external ids for OpenERP entities and add the possibility
to customize their field mapping directly in OpenERP to accommodate the external systems.