edi_component_oca
Enables Odoo EDI exchanges to be executed through the OCA component framework so each action is handled by a pluggable component tied to the backend.
Key Features
- edi.backend: Resolves and orders candidate components using backend type, exchange type, configured usage, and contextual work data before executing each EDI action.
- edi.exchange.record: Emits on_edi_exchange_* events so exchanges trigger backend-specific component handlers alongside the standard workflow.
- edi.exchange.consumer.mixin: Notifies components when manual generation or state changes occur, allowing EDI logic to hook into consumer record transitions.
- edi.oca.component.handler: Delegates generate, validate, send, receive, process, and check steps to the resolved component and raises EDINotImplementedError when nothing matches.
- components: Provides base mixins that bind components to EDI backends and exchange records with consistent work context and matching rules.
- components: Supplies input, output, send, check, receive, and validate mixins that expose a single abstract method implementers override for each EDI step.