Skip to main content

Base module to allow exchanging files via storage backend (eg: SFTP).

Project description

Odoo Community Association

EDI Storage backend support

Beta License: LGPL-3 OCA/edi-framework Translate me on Weblate Try me on Runboat

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.

Table of contents

Configuration

This module has two inactive global edi.configuration records that move the input file across the storage directories on on_edi_exchange_done / on_edi_exchange_error:

  • *Storage: move input file, pending → done (fallback error → done)

  • *Storage: move input file, pending → error

Before enabling them you must set backend_id on the record: otherwise the global match runs against every backend in the database, including non-storage ones.

Usage

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

Known issues / Roadmap

  • clean deprecated methods in the storage

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • ACSONE

Contributors

Other credits

The migration of this module from 15.0 to 16.0 was financially supported by Camptocamp.

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/edi-framework project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_edi_storage_oca-18.0.1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_edi_storage_oca-18.0.1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 747da923b127b6608de8b6deae1e637ff730c69e001b70011dc1cb19a619313b
MD5 d3c9ab6ba2c5d53f8b438a3d972b5346
BLAKE2b-256 64f72b5e547a9ed71cfe0c46e40a8eb4fa4558d55bb162c5307a2a72953fa0dc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page