Skip to content
Health
60/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Human commit this month
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 18.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

Odoo dependencies
OCA/edi:
OCA/edi-framework:
odoo/odoo:
- web
- bus
Python dependencies
PyYAML, openupgradelib
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 2

XML IDNameModelTypeStatus
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_invisible Boolean
    compute='_compute_button_open_file_manager_invisible'
Public methods (1)
  • button_open_file_manager(self) -> dict
    Prepares the file manager wizard and opens it

New fields (13)
  • ace_mode Selection
    default='txt' selection=[('javascript', 'JavaScript/JSON'), ('xml', 'XML/HTML'), ('qweb', 'QWeb'), ('scss', 'SCSS'), ('python', 'Python'), ('txt', 'Plain text')]
  • button_cancel_invisible Boolean
    compute='_compute_button_cancel_invisible'
  • button_close_invisible Boolean
    compute='_compute_button_close_invisible'
  • button_proceed_invisible Boolean
    compute='_compute_button_proceed_invisible'
  • exchange_record_file Binary
    attachment=False readonly=True related='exchange_record_id.exchange_file'
  • exchange_record_filename Char
    readonly=True related='exchange_record_id.exchange_filename'
  • exchange_record_id Many2one → edi.exchange.record
    ondelete='cascade' readonly=True required=True args: 'edi.exchange.record'
  • exchange_record_retryable Boolean
    readonly=True related='exchange_record_id.retryable'
  • file_content Text
  • mode Selection
    default='edit_in_place' selection=[('edit_in_place', 'Edit file'), ('download_and_replace', 'Replace file')]
  • new_file Binary
    attachment=False
  • new_filename Char
  • state Selection
    default='setup' readonly=True required=True selection=[('setup', 'Setup'), ('replace', 'Replace'), ('edit', 'Edit'), ('done', 'Done')]
Public methods (2)
  • button_proceed(self)
    Proceeds to the next state
  • open_file_manager_wizard(self)
    Opens the wizard in a dialog