Configuration and special behaviors for EDI UBL exchanges related to sales.
Takes care of:
- define SO and SO line states (according to PEPPOL states definition)
- compute the edi state for SO and SO line
- add state info on SO views
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Adds EDI status tracking to sales orders and order lines for UBL exchanges, showing whether each line was accepted, changed, added, or rejected, and automatically computing the order's overall EDI state.
This module extends sales orders and sales order lines with EDI (electronic data interchange) status information for UBL exchanges. It defines a set of statuses based on the PEPPOL standard: for the whole order, Accepted, Conditionally accepted, Rejected, and Message acknowledgement; for each order line, Added, Changed, Accepted without amendment, Not accepted, and Already delivered.
When a sales order comes from a UBL exchange, the module automatically compares the current order lines with the original values received. Each line gets a status: if the line is new it is marked as Added; if the quantity or product differs from the original it is marked as Changed; if the quantity is zero it is Not accepted; otherwise it is Accepted without amendment. The order itself is then set to Accepted if all lines are unchanged, Conditionally accepted if any line was added, changed, or not accepted, and Rejected if the order is cancelled.
The EDI status is visible on the sales order form: in the EDI section of the order and as an optional column in the order lines list. The status is read-only and updates automatically when relevant fields change, such as the product or quantity on a line, or the order state.
The module also adds event listeners that trigger the status recalculation when records are created or written, but only for orders linked to a UBL exchange. If no status can be determined, an error is logged.
Depends on
Required by other modules
Models and fields (5)
- sale.order · new model
- sale.order.line · new model
- edi.sale.order.event.listener · new model
- edi.sale.order.line.event.listener · new model
- edi.sale.order.event.listener.mixin · new model
Text generated by AI (DeepSeek) from reading the Odoo 18.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-03Confirmation 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
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
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.