OdooWiki OCA HUB
Uncategorised License: LGPL-3

Provide handy tools for dealing with XML files in the context of EDI exchanges.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Provides the technical foundation for exchanging XML files in EDI flows: it can read XML into structured data, build XML from data, and check XML against an XSD schema.

This is a base/technical module for EDI (electronic data interchange) exchanges that use XML files. It does not add menus or screens for end users; it gives other EDI modules the tools to handle XML content.

What it provides: - A reusable XML handler component (edi.xml.handler) that other EDI components can use. - Reading XML: it converts an XML document into a Python dictionary so the data can be processed. - Writing XML: a helper converts a dictionary back into a valid XML string, with optional pretty formatting and encoding. - Validation: it checks XML content against an XSD schema file. The schema location must be given as module:path. If validation fails, it can either return the error message as text or raise the error, depending on the option chosen.

Business rules and behaviours: - The handler requires a schema path to be configured; if it is missing, an error is raised when the component is created. - If the schema file cannot be found, a clear error message is returned or raised.

It depends on the EDI component base module and requires the Python library xmltodict. It touches the EDI component framework rather than standard business models like sales or invoices.

Models and fields (1)
  • edi.xml.handler · 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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 3 confirmed, 6 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.