Repository
OCA/edi · module folder · Try on Runboat
Module version
1.1.0
Category
Sales Management
Folder size
0.13 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/edi
Last tracking update
2026-08-07 08:09:21
Authors
Camptocamp, Odoo Community Association (OCA), ALBA Software
Maintainers
Camptocamp, Odoo Community Association (OCA), ALBA Software
Committers
Weblate, OCA-git-bot, oca-ci, thien
Odoo dependencies
Python dependencies
pydifact
System dependencies
None
Required by
edi_sale_edifact_oca
Description

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
sale_order_import_form sale.order.import.form.dev sale.order.import form Inherits sale_order_import.sale_order_import_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (6)
  • doc_type Selection
    readonly=False
  • edifact_ok Boolean
    compute='_compute_edifact_ok'
  • file_ext Char
    default='txt,d96a'
  • import_type Selection
    ondelete={'edifact': 'cascade'} selection_add=[('edifact', 'EDIFACT')]
  • json_data_preview Text
    help='Used by the btn `button_parse_order_preview` to preview data before importing'
  • release Char
    default='d96a'
Public methods (2)
  • button_parse_order_preview(self)
    Generate a preview of the data before importing. This method is called by the button to take a quick look at the pydifact structure ('edifact' type) and the parsed object ('order') from the original document before importing the document.
  • parse_edifact_order(self, filecontent, detect_doc_type=False)
    @api.model