EDI Exchange Template

edi_exchange_template_oca
REPOSITORY
REPOSITORYOCA/edi-framework
GIT
GIThttps://github.com/OCA/edi-framework.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/edi-framework/tree/18.0/edi_exchange_template_oca
VERSION
VERSION 1.3.3
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, ACSONE
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, ACSONE
COMMITTERS
COMMITTERSEnric Tobella, Weblate, OCA-git-bot, Simone Orsi, oca-ci, Ricardoalso, victorvermot
WEBSITE
WEBSITEhttps://github.com/OCA/edi-framework
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:12
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/edi:
    - base_edi
OCA/edi-framework:
    - edi_core_oca
odoo/odoo:
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - base_sparse_field
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES PyYAML
openupgradelib
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Provide EDI exchange templates to control input/output records contents.

Provides following models:

1.  EDI exchange output template, generates output using QWeb templates
2.  \[TODO\] EDI exchange input template

In order to use it, the echange type must have the handler: Exchange Template Handler for EDI

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
edi_exchange_template_output_view_form edi.exchange.template.output form New
edi_exchange_template_output_view_list edi.exchange.template.output list New
edi_exchange_template_output_view_search edi.exchange.template.output search New
edi_exchange_type_view_form edi.exchange.type field Inherits edi_core_oca.edi_exchange_type_view_form
Models touched (5)

New fields (0)

No new fields.

Public methods (1)
  • output_template_model(self)
    @property

New fields (7)
  • allowed_type_ids Many2many → edi.exchange.type
    column1='template_id' column2='type_id' comodel_name='edi.exchange.type' help='Types allowed to use this template.' relation='edi_exchange_template_type_rel' string='Allowed Exchange Types'
  • backend_id Many2one → edi.backend
    comodel_name='edi.backend' ondelete='cascade'
  • backend_type_id Many2one → edi.backend.type
    comodel_name='edi.backend.type' ondelete='restrict' required=True string='EDI Backend type'
  • code Char
    index=True required=True
  • code_snippet Text
  • code_snippet_docs Text
    compute='_compute_code_snippet_docs' default=<expr>
  • name Char
    required=True
Public methods (1)
  • validate(self, exchange_record)

New fields (7)
  • generator Selection
    default='qweb' required=True args: [('json', 'JSON'), ('qweb', 'Qweb Template'), ('report', 'Report')]
  • output_type Char
    required=True
  • prettify Boolean
    help='Prettify output. Works for XML output only.'
  • report_id Many2one → ir.actions.report
    comodel_name='ir.actions.report' ondelete='restrict'
  • template_arch Text
    readonly=False related='template_id.arch_db' string='QWeb arch'
  • template_id Many2one → ir.ui.view
    comodel_name='ir.ui.view' ondelete='restrict' required=False string='Qweb Template'
  • template_key Char
    related='template_id.xml_id' string='Template key'
Public methods (1)
  • exchange_generate(self, exchange_record, **kw)
    Generate output for given record using related QWeb template.

New fields (2)
  • output_template_allowed_ids Many2many → edi.exchange.template.output
    column1='type_id' column2='template_id' comodel_name='edi.exchange.template.output' help='Templates allowed to be used with this type.' relation='edi_exchange_template_type_rel' string='Allowed Templates'
  • output_template_id Many2one → edi.exchange.template.output
    comodel_name='edi.exchange.template.output' help='Template used to generate or process this type.' ondelete='restrict' required=False string='Exchange Template'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • generate(self, exchange_record)
REPOSITORY
REPOSITORYOCA/edi-framework
GIT
GIThttps://github.com/OCA/edi-framework.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/edi-framework/tree/17.0/edi_exchange_template_oca
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, ACSONE
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, ACSONE
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, John Herholz
WEBSITE
WEBSITEhttps://github.com/OCA/edi-framework
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:05
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/connector:
    - component_event
    - component
OCA/edi:
    - base_edi
OCA/edi-framework:
    - edi_oca
OCA/queue:
    - queue_job
odoo/odoo:
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - base_sparse_field
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES PyYAML
cachetools
requests
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Provide EDI exchange templates to control input/output records contents.

Provides following models:

1.  EDI exchange output template, generates output using QWeb templates
2.  \[TODO\] EDI exchange input template

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
edi_exchange_template_output_view_form edi.exchange.template.output form New
edi_exchange_template_output_view_search edi.exchange.template.output search New
edi_exchange_template_output_view_tree edi.exchange.template.output tree New
Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • output_template_model(self)
    @property

New fields (7)
  • backend_id Many2one → edi.backend
    comodel_name='edi.backend' ondelete='cascade'
  • backend_type_id Many2one → edi.backend.type
    comodel_name='edi.backend.type' ondelete='restrict' required=True string='EDI Backend type'
  • code Char
    index=True required=True
  • code_snippet Text
  • code_snippet_docs Text
    compute='_compute_code_snippet_docs' default=<expr>
  • name Char
    required=True
  • type_id Many2one → edi.exchange.type
    auto_join=True comodel_name='edi.exchange.type' ondelete='cascade' string='EDI Exchange type'
Public methods (1)
  • validate(self, exchange_record)

New fields (7)
  • generator Selection
    default='qweb' required=True args: [('qweb', 'Qweb Template'), ('report', 'Report')]
  • output_type Char
    required=True
  • prettify Boolean
    help='Prettify output. Works for XML output only.'
  • report_id Many2one → ir.actions.report
    comodel_name='ir.actions.report' ondelete='restrict'
  • template_arch Text
    readonly=False related='template_id.arch_db' string='QWeb arch'
  • template_id Many2one → ir.ui.view
    comodel_name='ir.ui.view' ondelete='restrict' required=False string='Qweb Template'
  • template_key Char
    related='template_id.xml_id' string='Template key'
Public methods (1)
  • exchange_generate(self, exchange_record, **kw)
    Generate output for given record using related QWeb template.
REPOSITORY
REPOSITORYOCA/edi-framework
GIT
GIThttps://github.com/OCA/edi-framework.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/edi-framework/tree/16.0/edi_exchange_template_oca
VERSION
VERSION 1.1.2
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, ACSONE
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, ACSONE
COMMITTERS
COMMITTERSEnric Tobella, Víctor Martínez, Weblate, OCA-git-bot, oca-ci, duongtq
WEBSITE
WEBSITEhttps://github.com/OCA/edi-framework
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:46
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/connector:
    - component_event
    - component
OCA/edi:
    - base_edi
OCA/edi-framework:
    - edi_oca
OCA/queue:
    - queue_job
odoo/odoo:
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - base_sparse_field
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES PyYAML
cachetools
requests
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
edi_exchange_template_output_view_form edi.exchange.template.output form New
edi_exchange_template_output_view_search edi.exchange.template.output search New
edi_exchange_template_output_view_tree edi.exchange.template.output tree New
Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • output_template_model(self)
    @property

New fields (7)
  • backend_id Many2one → edi.backend
    comodel_name='edi.backend' ondelete='cascade'
  • backend_type_id Many2one → edi.backend.type
    comodel_name='edi.backend.type' ondelete='restrict' required=True string='EDI Backend type'
  • code Char
    index=True required=True
  • code_snippet Text
  • code_snippet_docs Text
    compute='_compute_code_snippet_docs' default=<expr>
  • name Char
    required=True
  • type_id Many2one → edi.exchange.type
    auto_join=True comodel_name='edi.exchange.type' ondelete='cascade' string='EDI Exchange type'
Public methods (1)
  • validate(self, exchange_record)

New fields (7)
  • generator Selection
    default='qweb' required=True args: [('qweb', 'Qweb Template'), ('report', 'Report')]
  • output_type Char
    required=True
  • prettify Boolean
    help='Prettify output. Works for XML output only.'
  • report_id Many2one → ir.actions.report
    comodel_name='ir.actions.report' ondelete='restrict'
  • template_arch Text
    readonly=False related='template_id.arch_db' string='QWeb arch'
  • template_id Many2one → ir.ui.view
    comodel_name='ir.ui.view' ondelete='restrict' required=False string='Qweb Template'
  • template_key Char
    related='template_id.xml_id' string='Template key'
Public methods (1)
  • exchange_generate(self, exchange_record, **kw)
    Generate output for given record using related QWeb template.
REPOSITORY
REPOSITORYOCA/edi
GIT
GIThttps://github.com/OCA/edi.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/edi/tree/15.0/edi_exchange_template_oca
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, ACSONE
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, ACSONE
COMMITTERS
COMMITTERSEnric Tobella, Víctor Martínez, Weblate, OCA-git-bot, oca-ci, Juan Ignacio Úbeda
WEBSITE
WEBSITEhttps://github.com/OCA/edi
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:34
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/connector:
    - component_event
    - component
OCA/edi:
    - edi_oca
    - base_edi
OCA/queue:
    - queue_job
odoo/odoo:
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - base_sparse_field
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES PyYAML
cachetools
requests
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
edi_exchange_template_output_view_form edi.exchange.template.output form New
edi_exchange_template_output_view_search edi.exchange.template.output search New
edi_exchange_template_output_view_tree edi.exchange.template.output tree New
Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • output_template_model(self)
    @property

New fields (7)
  • backend_id Many2one → edi.backend
    comodel_name='edi.backend' ondelete='cascade'
  • backend_type_id Many2one → edi.backend.type
    comodel_name='edi.backend.type' ondelete='restrict' required=True string='EDI Backend type'
  • code Char
    index=True required=True
  • code_snippet Text
  • code_snippet_docs Text
    compute='_compute_code_snippet_docs' default=<expr>
  • name Char
    required=True
  • type_id Many2one → edi.exchange.type
    auto_join=True comodel_name='edi.exchange.type' ondelete='cascade' string='EDI Exchange type'
Public methods (1)
  • validate(self, exchange_record)

New fields (7)
  • generator Selection
    default='qweb' required=True args: [('qweb', 'Qweb Template'), ('report', 'Report')]
  • output_type Char
    required=True
  • prettify Boolean
    help='Prettify output. Works for XML output only.'
  • report_id Many2one → ir.actions.report
    comodel_name='ir.actions.report' ondelete='restrict'
  • template_arch Text
    readonly=False related='template_id.arch_db' string='QWeb arch'
  • template_id Many2one → ir.ui.view
    comodel_name='ir.ui.view' ondelete='restrict' required=False string='Qweb Template'
  • template_key Char
    related='template_id.xml_id' string='Template key'
Public methods (1)
  • exchange_generate(self, exchange_record, **kw)
    Generate output for given record using related QWeb template.
REPOSITORY
REPOSITORYOCA/edi
GIT
GIThttps://github.com/OCA/edi.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/edi/tree/14.0/edi_exchange_template_oca
VERSION
VERSION 1.6.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, ACSONE
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, ACSONE
COMMITTERS
COMMITTERSGitHub, Enric Tobella, oca-travis, Weblate, OCA-git-bot, Simone Orsi, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/edi
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/connector:
    - component_event
    - component
OCA/edi:
    - edi_oca
    - base_edi
OCA/queue:
    - queue_job
odoo/odoo:
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - base_sparse_field
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES pyyaml
cachetools
requests
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
edi_exchange_template_output_view_form edi.exchange.template.output form New
edi_exchange_template_output_view_search edi.exchange.template.output search New
edi_exchange_template_output_view_tree edi.exchange.template.output tree New
edi_exchange_type_view_form edi.exchange.type group Inherits edi_oca.edi_exchange_type_view_form
Models touched (4)

New fields (0)

No new fields.

Public methods (1)
  • output_template_model(self)
    @property

New fields (8)
  • allowed_type_ids Many2many → edi.exchange.type
    column1='template_id' column2='type_id' comodel_name='edi.exchange.type' help='Types allowed to use this template.' relation='edi_exchange_template_type_rel' string='Allowed Exchange Types'
  • backend_id Many2one → edi.backend
    comodel_name='edi.backend' ondelete='cascade'
  • backend_type_id Many2one → edi.backend.type
    comodel_name='edi.backend.type' ondelete='restrict' required=True string='EDI Backend type'
  • code Char
    index=True required=True
  • code_snippet Text
  • code_snippet_docs Text
    compute='_compute_code_snippet_docs' default=<expr>
  • name Char
    required=True
  • type_id Many2one → edi.exchange.type
    auto_join=True comodel_name='edi.exchange.type' ondelete='cascade' string='EDI Exchange type'
Public methods (1)
  • validate(self, exchange_record)

New fields (7)
  • generator Selection
    default='qweb' required=True args: [('qweb', 'Qweb Template'), ('report', 'Report')]
  • output_type Char
    required=True
  • prettify Boolean
    help='Prettify output. Works for XML output only.'
  • report_id Many2one → ir.actions.report
    comodel_name='ir.actions.report' ondelete='restrict'
  • template_arch Text
    readonly=False related='template_id.arch_db' string='QWeb arch'
  • template_id Many2one → ir.ui.view
    comodel_name='ir.ui.view' ondelete='restrict' required=False string='Qweb Template'
  • template_key Char
    related='template_id.xml_id' string='Template key'
Public methods (1)
  • exchange_generate(self, exchange_record, **kw)
    Generate output for given record using related QWeb template.

New fields (2)
  • output_template_allowed_ids Many2many → edi.exchange.template.output
    column1='type_id' column2='template_id' comodel_name='edi.exchange.template.output' help='Templates allowed to be used with this type.' relation='edi_exchange_template_type_rel' string='Allowed Templates'
  • output_template_id Many2one → edi.exchange.template.output
    comodel_name='edi.exchange.template.output' help='Template used to generate or process this type.' ondelete='restrict' required=False string='Exchange Template'
Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/edi-framework
PULL REQUEST
PULL REQUEST[19.0][MIG] edi_exchange_template_oca: Migration to 19.0 (#250)