Skip to main content

Attachment Synchronize

Project description

Beta License: AGPL-3 OCA/server-tools Translate me on Weblate Try me on Runboat

This module allows to import/export files from/to backend servers.

A backend server is defined by the basic storage_backend OCA module, while it can be configured (amazon S3, sftp,…) with additional modules from the storage repository.

The imported files (and the files to be exported) are stored in Odoo as attachment.queue objects, defined by the attachment_queue module while the importation itself (resp. exportation) is realized by “Attachments Import Tasks” (resp. “Attachments Export Tasks”) defined by this current module.

Table of contents

Usage

As importation and exportation are different processes, they are triggered in different ways :

To import files, you need to create an “Attachment Import Task” (menu Settings > Technical > Attachments Import Tasks) which defines :

  • where to find the files to import from the backend server (path to the files, selection pattern)

  • what to do with the source files in the backend server (avoid duplicates, delete/rename after import…)

  • how the files will be processed once imported (through the File Type field).

https://raw.githubusercontent.com/OCA/server-tools/12.0/attachment_synchronize/static/description/import_task.png

🔎 The File Type options are defined by other modules built to process the Attachments Queues with the same “File Type”.

To export files, you need first to register them as “Attachments Queues” objects linked to an “Attachment Export Task” (which set automatically their File Type to “Export File (External Location)”).

Then, you can export one file at a time from the Attachment Queue’s form view, or export all the Attachments Queues in a pending state related to the same Export Task from the given Export Task form view (menu Settings > Technical > Attachments Export Tasks) :

https://raw.githubusercontent.com/OCA/server-tools/12.0/attachment_synchronize/static/description/export_task.png

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

  • Akretion

Contributors

Akretion :

GS Lab:

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.

Current maintainers:

florian-dacosta sebastienbeau GSLabIt bealdav

This module is part of the OCA/server-tools 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

File details

Details for the file odoo12_addon_attachment_synchronize-12.0.2.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo12_addon_attachment_synchronize-12.0.2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cc8ddd64b32eeab5197711fd347bcd5ac92c3cf3ba16cac2f419eca05ae27a9c
MD5 d6b6d862f7fc44dce64eda1fa60969f4
BLAKE2b-256 505f650b7fc3ad1332d33ab6dd0d381c343395694c43af0ea172b54914e85aac

See more details on using hashes here.

Supported by

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