edi_sale_input_oca
Provide an EDI component that feeds incoming sale order files into the OCA sale order import wizard to create Odoo sales orders automatically.
Key Features
- edi.exchange.type: Advanced settings let each exchange type push wizard defaults such as confirmation behavior, price source, or other context keys so every EDI channel controls its import logic.
- edi.input.sale.order.process: The process component builds the sale.order.import wizard on the exchange record's file, runs it, and either links the new sale order or stops with a duplication error detected by the wizard.
- sale.order: Orders created through this flow are initialized with the origin_exchange_record_id from the exchange record, keeping a trace back to the EDI message.
- sale.order.import: During line creation the wizard assigns each line an edi_id sourced from order_line_ref or sequence so EDI metadata can map source lines to created lines.
- edi.exchange.record: Exchange records transition to processed, retain the related sale order, and log whether processing succeeded or failed after the wizard execution.