Repository
odoo/odoo · module folder
Module version
1.0
Category
Accounting/Accounting
Folder size
0.96 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
None
Last tracking update
2026-08-08 22:45:29
Authors
Odoo S.A.
Maintainers
Odoo S.A.
Committers
Xavier Morel, Raphael Collet, Josse Colpaert, Odoo Translation Bot, Laurent Smet, Julien Castiaux, Tiffany Chang (tic), Gorash, Louis Wicket (wil), Dylan Kiss (dyki), Antoine Dupuis (andu), Harsh Modi, Louis Gobert, masm-odoo, AKR, Krzysztof Magusiak (krma)
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
account_edi_finvoice, l10n_co_electronic_invoice_self, l10n_eg_edi_eta, l10n_es_edi_sii, l10n_in_edi, l10n_ro_message_spv, l10n_sa_edi
Description
Electronic Data Interchange
=======================================
EDI is the electronic interchange of business information using a standardized format.

This is the base module for import and export of invoices in various EDI formats, and the
the transmission of said documents to various parties involved in the exchange (other company,
governements, etc.)
    

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
view_account_invoice_filter account.invoice.select.inherit account.move Inherits account.view_account_invoice_filter
view_account_journal_form_inherited account.journal.form.inherited account.journal form Inherits account.view_account_journal_form
view_in_bill_tree_inherit account.move.tree.inherit account.move tree Inherits account.view_in_invoice_bill_tree
view_in_invoice_refund_tree_inherit account.move.list.inherit account.move list Inherits account.view_in_invoice_refund_tree
view_move_form_inherit account.move.form.inherit account.move form Inherits account.view_move_form
view_out_credit_note_tree_inherit account.move.list.inherit account.move list Inherits account.view_out_credit_note_tree
view_out_invoice_tree_inherit account.move.list.inherit account.move list Inherits account.view_out_invoice_tree
view_tree_account_edi_document Account.edi.document.list account.edi.document list New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (8)

New fields (9)
  • attachment_id Many2one → ir.attachment
    comodel_name='ir.attachment' groups='base.group_system' help='The file generated by edi_format_id when the invoice is posted (and this document is processed).'
  • blocking_level Selection
    help="Blocks the current operation of the document depending on the error severity:\n * Info: the document is not blocked and everything is working as it should.\n * Warning: there is an error that doesn't prevent the current Electronic Invoicing operation to succeed.\n * Error: there is an error that blocks the current Electronic Invoicing operation." selection=[('info', 'Info'), ('warning', 'Warning'), ('error', 'Error')]
  • edi_content Binary
    compute='_compute_edi_content'
  • edi_format_id Many2one → account.edi.format
    required=True args: 'account.edi.format'
  • edi_format_name Char
    related='edi_format_id.name' string='Format Name'
  • error Html
    help='The text of the last error that happened during Electronic Invoice operation.'
  • move_id Many2one → account.move
    index=True ondelete='cascade' required=True args: 'account.move'
  • name Char
    related='attachment_id.name'
  • state Selection
    args: [('to_send', 'To Send'), ('sent', 'Sent'), ('to_cancel', 'To Cancel'), ('cancelled', 'Cancelled')]
Public methods (1)
  • action_export_xml(self)

New fields (2)
  • code Char
    required=True
  • name Char
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

New fields (2)
  • compatible_edi_ids Many2many → account.edi.format
    comodel_name='account.edi.format' compute='_compute_compatible_edi_ids' help='EDI format that support moves in this journal'
  • edi_format_ids Many2many → account.edi.format
    comodel_name='account.edi.format' compute='_compute_edi_format_ids' domain="[('id', 'in', compatible_edi_ids)]" help='Send XML/EDI invoices' readonly=False store=True string='Electronic invoicing'
Public methods (1)
  • write(self, vals)

New fields (9)
  • edi_blocking_level Selection
    compute='_compute_edi_error_message' selection=[('info', 'Info'), ('warning', 'Warning'), ('error', 'Error')]
  • edi_document_ids One2many → account.edi.document
    comodel_name='account.edi.document' inverse_name='move_id'
  • edi_error_count Integer
    compute='_compute_edi_error_count' help='How many EDIs are in error for this move?'
  • edi_error_message Html
    compute='_compute_edi_error_message'
  • edi_show_abandon_cancel_button Boolean
    compute='_compute_edi_show_abandon_cancel_button'
  • edi_show_cancel_button Boolean
    compute='_compute_edi_show_cancel_button'
  • edi_show_force_cancel_button Boolean
    compute='_compute_edi_show_force_cancel_button'
  • edi_state Selection
    compute='_compute_edi_state' help='The aggregated state of all the EDIs with web-service of this move' selection=[('to_send', 'To Send'), ('sent', 'Sent'), ('to_cancel', 'To Cancel'), ('cancelled', 'Cancelled')] store=True string='Electronic invoicing'
  • edi_web_services_to_process Text
    compute='_compute_edi_web_services_to_process'
Public methods (8)
  • action_process_edi_web_services(self, with_commit=True)
  • action_retry_edi_documents_error(self)
  • button_abandon_cancel_posted_posted_moves(self)
    Cancel the request for cancellation of the EDI.
  • button_cancel(self)
  • button_cancel_posted_moves(self)
    Mark the edi.document related to this move to be canceled.
  • button_draft(self)
  • button_force_cancel(self)
    Cancel the invoice without waiting for the cancellation request to succeed.
  • button_process_edi_web_services(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • resequence(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…