OdooWiki OCA HUB

EDI Storage backend support

edi_storage folder_open OCA/edi open_in_new
Uncategorised License: LGPL-3

Allow exchange files using storage backends from OCA/storage.

This module adds a storage backend relation on the EDI backend. There you can configure the backend to be used (most often and SFTP) and the paths where to read or put files.

Often the convention when exchanging files via SFTP is to have one input forder (to receive files) and an output folder (to send files).

Inside this folder you have this hierarchy:

input/output folder |- pending |- done |- error

  • pending folder contains files that have been just sent
  • done folder contains files that have been processes successfully
  • error folder contains files with errors and cannot be processed

The storage handlers take care of reading files and putting files in/from the right place and update exchange records data accordingly.

auto_awesome What this module does

AI-generated from the code · Odoo 13.0

Configure EDI backends to exchange files through a storage backend (such as SFTP), with separate pending, done and error folders for incoming and outgoing files. Odoo automatically picks up new incoming files and moves them between folders as they are processed.

This module lets you connect an EDI backend to a storage backend (for example an SFTP server) and define the folders used to exchange files with partners.

On the EDI backend form you get a new "Storage" tab where you choose the storage backend and set six directories: input pending, input done, input error, output pending, output done and output error. The usual layout is a pending folder for files just sent, a done folder for files processed successfully and an error folder for files that failed.

A scheduled job runs every hour and looks at the input pending folder of every backend that has a storage configured. For each input exchange type it uses the file name pattern defined on the exchange type to find matching files and creates the corresponding exchange records, without duplicating ones that already exist.

When an incoming exchange is finished, the file is automatically moved from pending to done; if it fails, it is moved to error. For outgoing exchanges, the system checks the done and error folders to update the exchange status, and can pick up acknowledgement files.

Exchange types gain a file name pattern field used both to name outgoing files and to filter incoming files.

Models and fields (7)
  • edi.backend · extends an existing modelstorage_id (Storage backend), input_dir_done (Input done directory), input_dir_error (Input error directory), output_dir_done (Output done directory), output_dir_error (Output error directory), input_dir_pending (Input pending directory), output_dir_pending (Output pending directory)
  • edi.exchange.type · extends an existing modelexchange_filename_pattern
  • edi.storage.component.send · new model
  • edi.storage.component.check · new model
  • edi.storage.component.mixin · new model
  • edi.storage.component.receive · new model
  • edi.storage.component.listener · new model

Text generated by AI (DeepSeek) from reading the Odoo 13.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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 13.0

Go to "EDI -> EDI backend" then configure your backend to use a storage backend.

No verified information in OCA: Installation, Configuration.

info

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.