edi_sale_oca
Base module that connects sale orders to the OCA EDI framework so they can participate in inbound and outbound exchanges.
Key Features
- res.partner: Lets each partner reference the sale.order-specific EDI configurations that should run for their documents.
- sale.order: Uses the EDI consumer mixin to pull partner configurations and manage related exchange records for every order.
- sale.order: Captures original order-line values keyed by edi_id in stored metadata to trace exactly what was exchanged.
- sale.order: Adds an EDI tab, smart button, and search filters so users can inspect origin exchange records and disable automated actions directly on the order.
- sale.order.line: Extends lines with edi_id handling, readiness computation, and automatic propagation of the originating exchange record whenever new lines are added.
- edi.configuration.trigger: Provides a trigger that fires on sale order state changes to kick off configured exchanges.
- sales: Adds an EDI submenu under Sales that opens exchange records already scoped to sale orders.
- sale.order: Generates outbound exchange records on confirmation or cancellation only when the customer has matching EDI configurations, allowing multiple outputs per order.