Odoo integration code components
Part of the Odoo β OpenELIS guide: the OpenELIS classes that implement the integration, for developers. Setup, behaviour and troubleshooting are in the main guide. Checked against the OpenELIS develop source code (November 2026).
Components
Class | Role |
|---|---|
XML-RPC client. | |
The interface the rest of OpenELIS uses: | |
Chooses the OdooConnection bean at startup from | |
Receives the | |
| |
Loads the mapping CSV once at startup from | |
| |
Parses Odoo responses as plain data and refuses serialized Java fault causes. Not in OpenELIS 3.3.0. |
Data flow
Order saved (transaction commits)
-> SamplePatientUpdateDataCreatedEvent
-> SamplePatientUpdateDataCreatedEventListener (async)
-> OdooIntegrationService.createInvoice()
-> find or create the customer (res.partner)
-> map each test through TestProductMapping into invoice lines
-> create the draft invoice (account.move, out_invoice)
-> OdooConnection (RealOdooClient -> OdooClient, XML-RPC)