OdooWiki OCA HUB

EDI Sales

edi_sale_ubl_output_oca folder_open OCA/edi-framework open_in_new
Uncategorised License: AGPL-3

Provides some basic templates for generating order responses in UBL format within the EDI framework.

Templates

qweb_tmpl_ubl_party: to be used to render a party (res.partner) qweb_tmpl_ubl_address: to be used to render a party's address (aka res.partner) qwb_tmpl_ubl_order_response_out: example for a full ORDRSP output.

NOTE: the latter is not fully complete and above all should not be used directly to avoid overrides. Always define your own template for the customer.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds example templates for generating UBL OrderResponse XML documents from sales orders within the EDI framework, plus demo exchange types to send and receive them.

This module provides ready-to-use building blocks for exchanging sales order responses in UBL XML format with business partners through Odoo's EDI framework.

  • A QWeb template named "Render UBL OrderResponse out - EXAMPLE" builds an OrderResponse document from a sales order. It includes the order reference, seller and buyer parties, delivery information (with quantities and dates), tax totals, monetary totals, and one line per order line.
  • Only order lines marked as ready for EDI are included in the output.
  • The template reuses party and address rendering templates from the base UBL output module.
  • A demo output exchange template (code ubl.generate.OrderResponse) prepares the data: it picks the seller from the company, the buyer from the customer, and the outgoing delivery from the sales order's pickings.
  • Two demo exchange types are created: one output type "Demo UBL Sale Order Response" that generates the XML file, and one input type "Demo UBL Sale Order" that can receive orders and is linked to the output type as its acknowledgement.
  • The generated XML is validated against the official UBL 2.2 OrderResponse schema.
  • State workflows for sales orders and sales order lines are attached to these exchange types, so EDI states are tracked on orders and lines.

The module does not add menus or new models; it works through the existing EDI configuration screens. The templates are examples and are meant to be copied and adapted for each customer.

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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

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