TIP: You can type at any time to perform a new search.
EDI Exchange Template
edi_exchange_template_oca · OCA/edi-framework
- Repository
- OCA/edi-framework · module folder · Try on Runboat
- Module version
- Category
- Uncategorized
- Folder size
- 0.1 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/edi-framework
- Last tracking update
- 2026-08-13 11:13:55
- Authors
- Camptocamp, Odoo Community Association (OCA), ACSONE
- Maintainers
- Camptocamp, Odoo Community Association (OCA), ACSONE
- Committers
- Simone Orsi, Enric Tobella, Ricardoalso, Weblate, OCA-git-bot, oca-ci, victorvermot
- Odoo dependencies
- Python dependencies
- PyYAML, openupgradelib
- System dependencies
- None
- Required by
- edi_exchange_template_party_data, edi_sale_ubl_output_oca, edi_ubl_output_base_oca
- 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 ID | Name | Model | Type | Status |
|---|---|---|---|---|
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 | form | Inherits edi_core_oca.edi_exchange_type_view_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (5)
New fields (0)
No new fields.
Public methods (1)-
output_template_model(self)@property
New fields (7)
-
allowed_type_idsMany2many → edi.exchange.typecolumn1='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_idMany2one → edi.backendcomodel_name='edi.backend'ondelete='cascade' -
backend_type_idMany2one → edi.backend.typecomodel_name='edi.backend.type'ondelete='restrict'required=Truestring='EDI Backend type' -
codeCharindex=Truerequired=True -
code_snippetText -
code_snippet_docsTextcompute='_compute_code_snippet_docs'default=<expr> -
nameCharrequired=True
-
validate(self, exchange_record)
New fields (7)
-
generatorSelectiondefault='qweb'required=True args: [('json', 'JSON'), ('qweb', 'Qweb Template'), ('report', 'Report')] -
output_typeCharrequired=True -
prettifyBooleanhelp='Prettify output. Works for XML output only.' -
report_idMany2one → ir.actions.reportcomodel_name='ir.actions.report'ondelete='restrict' -
template_archTextreadonly=Falserelated='template_id.arch_db'string='QWeb arch' -
template_idMany2one → ir.ui.viewcomodel_name='ir.ui.view'ondelete='restrict'required=Falsestring='Qweb Template' -
template_keyCharrelated='template_id.xml_id'string='Template key'
-
exchange_generate(self, exchange_record, **kw)Generate output for given record using related QWeb template.
New fields (2)
-
output_template_allowed_idsMany2many → edi.exchange.template.outputcolumn1='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_idMany2one → edi.exchange.template.outputcomodel_name='edi.exchange.template.output'help='Template used to generate or process this type.'ondelete='restrict'required=Falsestring='Exchange Template'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
generate(self, exchange_record)
Loading…
Loading…
Loading…
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 148 days ago
- Last activity
- 58 days ago
- Repository
- OCA/edi-framework
- Pull request
- [19.0][MIG] edi_exchange_template_oca: Migration to 19.0 (#250)