EDI Exchange Record File Manager
edi_exchange_record_file_manager · OCA/edi-framework
Health
60/100
fair
-
Security25/25No findings
-
Activity25/25Human commit this month
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 18.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.08 MB
Module directory on disk
Code analysis
0 migration notes
2 models
2 views
0 HTTP endpoints
Description
Adds a "Manage File" button on EDI exchange records that contain a file and are in
an error state (validate_error, output_sent_and_error or input_processed_error).
The button opens a wizard that lets the user either replace the exchange file with a new one, or edit its content directly (with a code editor). At the end the user can safely close the wizard.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
edi_exchange_record_file_manager_view_form |
edi.exchange.record.file.manager.form | edi.exchange.record.file.manager | form | New |
edi_exchange_record_view_form_inherit |
edi.exchange.record | form | Inherits edi_core_oca.edi_exchange_record_view_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (1)
-
button_open_file_manager_invisibleBooleancompute='_compute_button_open_file_manager_invisible'
-
button_open_file_manager(self) -> dictPrepares the file manager wizard and opens it
New fields (13)
-
ace_modeSelectiondefault='txt'selection=[('javascript', 'JavaScript/JSON'), ('xml', 'XML/HTML'), ('qweb', 'QWeb'), ('scss', 'SCSS'), ('python', 'Python'), ('txt', 'Plain text')] -
button_cancel_invisibleBooleancompute='_compute_button_cancel_invisible' -
button_close_invisibleBooleancompute='_compute_button_close_invisible' -
button_proceed_invisibleBooleancompute='_compute_button_proceed_invisible' -
exchange_record_fileBinaryattachment=Falsereadonly=Truerelated='exchange_record_id.exchange_file' -
exchange_record_filenameCharreadonly=Truerelated='exchange_record_id.exchange_filename' -
exchange_record_idMany2one → edi.exchange.recordondelete='cascade'readonly=Truerequired=True args: 'edi.exchange.record' -
exchange_record_retryableBooleanreadonly=Truerelated='exchange_record_id.retryable' -
file_contentText -
modeSelectiondefault='edit_in_place'selection=[('edit_in_place', 'Edit file'), ('download_and_replace', 'Replace file')] -
new_fileBinaryattachment=False -
new_filenameChar -
stateSelectiondefault='setup'readonly=Truerequired=Trueselection=[('setup', 'Setup'), ('replace', 'Replace'), ('edit', 'Edit'), ('done', 'Done')]
-
button_proceed(self)Proceeds to the next state -
open_file_manager_wizard(self)Opens the wizard in a dialog