Attachment Synchronize
Project description
This module allows to import/export files from/to backend servers.
A backend server is defined by the basic fs_storage OCA module, while it can be configured (amazon S3, sftp,…) with additional modules fs python libraries
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).
🔎 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) :
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
Contributors
Akretion :
Valentin CHEMIERE
Mourad EL HADJ MIMOUNE <mourad.elhadj.mimoune@akretion.com>
Florian DA COSTA <florian.dacosta@akretion.com>
Clément MOMBEREAU <clement.mombereau@akretion.com.br>
GS Lab:
Giovanni SERRA <giovanni@gslab.it>
Maintainers
This module is maintained by the OCA.
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:
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo_addon_attachment_synchronize-16.0.1.0.1.1-py3-none-any.whl
.
File metadata
- Download URL: odoo_addon_attachment_synchronize-16.0.1.0.1.1-py3-none-any.whl
- Upload date:
- Size: 172.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2cd7e37063aafa4cca272fc34553e216060bd17981d6021bc6f698312c9395f |
|
MD5 | f53bff6e8a7cf26f57df33a68d4aa645 |
|
BLAKE2b-256 | f1559fa8db853765a9de9a19e2d1e18491bf7c375a97054ceb110ba43162a5c1 |