OdooWiki OCA HUB

EDI Purchase

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

Handle purchase orders via EDI.

This is a base module to plug purchase processes with the EDI framework.

To handle inbound/outbound purchase orders, you need to create your own integration modules on top of this base module.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Connects purchase orders to the EDI framework so purchase orders can be exchanged electronically with suppliers. It adds an EDI tab on purchase orders, a partner-level purchase EDI configuration, and a menu to review purchase EDI exchange records.

This module is a base layer that plugs purchase orders into the EDI framework. It does not itself define a specific supplier format; instead it prepares purchase orders, order lines and partners so that separate integration modules can send or receive them electronically.

What users see: - On a purchase order form, a new "EDI" tab shows whether automated EDI actions are disabled, plus the origin exchange record and exchange type when the order came from an EDI message. - A smart button labelled "EDI" appears in the order button box when exchange records exist, opening the related records. - Order lines show an EDI identifier column (hidden by default) and, in the line detail, EDI origin information when applicable. - On a partner form, a "Purchase" group lets you attach one or more EDI purchase configurations, limited to purchase order configurations. - Under Purchase > EDI > Exchanges, users can list EDI exchange records linked to purchase orders.

Automatic behaviour: - A configuration trigger named "On PO state change" is provided so EDI configurations can react when a purchase order changes state. - Order lines created for an order automatically inherit the order's origin exchange record. - A computed flag marks lines as ready for EDI exchange, excluding section/note lines and down payments.

It touches purchase.order, purchase.order.line and res.partner.

Required by other modules

Menus it adds

EDIExchanges
Models and fields (3)
  • res.partner · extends an existing modeledi_purchase_conf_ids (EDI purchase configuration)
  • purchase.order · new model
  • purchase.order.line · new modeledi_disable_auto, edi_exchange_ready

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: 4 confirmed, 5 with no information of 9 versions.

terminal Installation and usage

No verified information

Installation 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.

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.