OdooWiki OCA HUB

Edi Connector Oca

edi_component_oca folder_open OCA/edi-framework open_in_new
Uncategorised License: LGPL-3

This module allows to use components to handle code to execute on EDI Exchanges.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

This module lets Odoo use Connector components to handle the code that runs on EDI exchanges, so each EDI backend can generate, send, receive, process, check and validate documents through pluggable components.

This module connects the EDI framework with the Connector component system. It does not add menus or screens; it works behind the scenes on the edi.backend and edi.exchange.record models.

  • On an EDI backend, Odoo can look up the right component for a given exchange record and action (generate, send, receive, process, check, validate). The lookup uses the backend type and exchange type, and can be customised per exchange type through its settings.
  • A component handler (edi.oca.component.handler) provides the actions generate, send, receive, process, check, input_validate and output_validate. Each action finds the matching component and calls it; if no component is found, an error is raised saying the action is not implemented.
  • Abstract component mixins are provided so developers can build components for input, output, send, receive, check and validate steps. These mixins define the expected methods but leave the actual logic to be implemented.
  • The module also hooks into the exchange consumer mixin and exchange record events, so state changes and manual generation can trigger component events.

In short, it is a technical bridge that lets EDI document handling be implemented as reusable components instead of hard-coded logic.

Models and fields (11)
  • edi.backend · new model
  • edi.component.mixin · new model
  • edi.component.base.mixin · new model
  • edi.component.send.mixin · new model
  • edi.component.check.mixin · new model
  • edi.component.input.mixin · new model
  • edi.oca.component.handler · new model
  • edi.component.output.mixin · new model
  • edi.component.receive.mixin · new model
  • edi.exchange.consumer.mixin · extends an existing model
  • edi.component.validate.mixin · new model

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/edi-framework.

terminal Installation and usage

OCA documentation · Odoo 19.0

Component definition

The component used on edi must inherit from:

  • edi.component.input.mixin for processing and implement the process function
  • edi.component.receive.mixin for reception and implement the receive function
  • edi.component.output.mixin for generation and implement the generate function
  • edi.component.send.mixin for sending and implement the send function
  • edi.component.check.mixin for checking and implement the check function
  • edi.component.validate.mixin for validation and implement the validate function

Also, the components may have the following elements that will be used to use the right component:

  • _backend_type: code of the backend type
  • _exchange_type: code of the exchange type
  • _usage: Automatically set by the inherited component

No verified information in OCA: Installation, Usage.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.