EDI Exchange Template
edi_exchange_template_oca · OCA/edi-framework
Replaces
edi_exchange_template (14.0)OCA/edi 14.0–15.0 → OCA/edi-framework 16.0–19.0
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 6 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
2 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.09 MB
Module directory on disk
Code analysis
0 migration notes
5 models
4 views
0 HTTP endpoints
Description
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
In order to use it, the echange type must have the handler: Exchange Template Handler for EDI
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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…
Loading…