OdooWiki OCA HUB

EDI Exchange Template

edi_exchange_template folder_open OCA/edi open_in_new
Uncategorised License: LGPL-3

Provide EDI exchange templates to control input/output records contents.

Provides following models:

  • EDI exchange output template, generates output using QWeb templates
  • [TODO] EDI exchange input template

auto_awesome What this module does

AI-generated from the code · Odoo 13.0

Lets you define reusable templates that automatically build the content of outgoing EDI files, using QWeb views or Odoo reports, with optional Python snippets to enrich the data.

This module adds a new screen called EDI Exchange Templates, found under the EDI menu. There you create "output templates" that describe how an outgoing EDI message should be produced.

  • Each template has a name, a code, an EDI backend type, an optional backend and an exchange type, plus an output type (for example xml).
  • You choose a generator: either a QWeb Template or a Report. Depending on the choice, the form asks for the QWeb view or the report to use, and shows the template content in an editor.
  • A code snippet field lets you add small Python instructions to prepare extra values; a help box lists the variables available (dates, user, exchange record, related record, backend, template, and helper functions).
  • Templates can call other templates by code, so you can reuse smaller pieces.
  • When an outgoing exchange is generated, Odoo looks for the matching template: first by backend type and exchange type, then by backend type only. If a template is found, it renders the content; otherwise the standard behaviour is used.
  • For XML output, helper wrapper elements used to declare namespaces are removed from the final result.

Access is read-only for regular users and full for EDI managers. The module extends edi.backend and adds the models edi.exchange.template.output and edi.exchange.template.mixin.

Depends on

Menus it adds

EDI Exchange Templatesmenu_edi_exchange_template_output
Models and fields (5)
  • edi.backend · extends an existing model
  • edi.output.mixin · new model
  • edi.info.provider.mixin · new model
  • edi.exchange.template.mixin · new modelcode, name, type_id (EDI Exchange type), backend_id, code_snippet, backend_type_id (EDI Backend type), code_snippet_docs
  • edi.exchange.template.output · new modelgenerator, report_id, output_type, template_id (Qweb Template), template_key (Template key), template_arch (QWeb arch)

Text generated by AI (DeepSeek) from reading the Odoo 13.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: 1 confirmed, 8 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.