EDI Exchange Record File Manager
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.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Adds a "Manage File" button on EDI exchange records that are in an error state, opening a wizard where users can edit the exchange file content directly or replace it with a new file.
When an EDI exchange record is in an error state ("Error on validation", "Sent and Error" or "Error on Process") and contains a file that is not frozen, a "Manage File" button appears in the record's header next to the Retry button. Clicking it opens a wizard dialog with three steps.
- In the setup step the user chooses between editing the file in place or replacing it with a new file.
- If editing, the file content is shown in a code editor; the editor language is guessed from the file name, the exchange type extension or the file content itself. The user can pick the language manually (JavaScript/JSON, XML/HTML, QWeb, SCSS, Python, plain text).
- If replacing, the current file can be downloaded and a new file must be uploaded; the new file is checked against the exchange type's expected encoding and error handler before being accepted.
When the user clicks Proceed, the exchange record's file is updated and a message is posted in the record's chatter. The wizard then shows a confirmation step; if the record is retryable, the user is invited to close the dialog and click Retry to reschedule the exchange. The button and wizard are only available to users in the "EDI Override Exchange File Content" group, and the wizard refuses to proceed if the record state changes while it is open.
Depends on
Models and fields (2)
- edi.exchange.record · extends an existing modelbutton_open_file_manager_invisible
- edi.exchange.record.file.manager · new modelmode, state, ace_mode, new_file, file_content, new_filename, exchange_record_id, exchange_record_file, button_close_invisible, button_cancel_invisible, button_proceed_invisible, exchange_record_filename, exchange_record_retryable
Text generated by AI (DeepSeek) from reading the Odoo 18.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-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/edi-framework.
terminal Installation and usage
OCA documentation · Odoo 18.0Usage
Source · Odoo 18.0- Open an EDI exchange record with a file, in state Sent and error or Error on process
- Click on Manage File, setup Replace file or Edit file and click Proceed
- Depending on the previous step's choice:
- Replace: download the current file (optional), upload the new one (mandatory) and Proceed
- Edit: change the content in the editor and Proceed
- In both cases: clicking on Cancel will discard your changes
- Click Close to safely close the dialog window
No verified information in OCA: Installation, Configuration.
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.
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.