Move existing attachments to filesystem
Project description
Introduction
This addon allows to automatically move existing attachments to the file system.
Configuration
If it doesn’t exist, the module creates a parameter ir_attachment.location with value file. This will make new attachments end up in your data path (the odoo configuration value data_dir) in a subdirectory called filestore.
Then it will create a cron job that does the actual transfer and schedule it for 01:42 at night in the installing user’s time zone. The cronjob will do a maximum of 10000 conversions per run and is run every night. The limit is configurable with the parameter attachments_to_filesystem.limit.
After all attachments are migrated (the log will show then moving 0 attachments to filestore), you can disable or delete the cronjob.
If you need to run the migration synchronously during install, set the parameter attachments_to_filesystem.move_during_init before installing this addon.
Credits
Contributors
Holger Brunn <hbrunn@therp.nl>
Icon
http://commons.wikimedia.org/wiki/File:Crystal_Clear_app_harddrive.png
Maintainer
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.
To contribute to this module, please visit http://odoo-community.org.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo8_addon_attachments_to_filesystem-8.0.1.0.1-py2-none-any.whl.
File metadata
- Download URL: odoo8_addon_attachments_to_filesystem-8.0.1.0.1-py2-none-any.whl
- Upload date:
- Size: 22.9 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a2a05ffee90d2205c4a34549274ee43cadaaee384e897e93a5fb1c66baab799
|
|
| MD5 |
07c1a9e3678e3f0c8a7d9c77a12997f4
|
|
| BLAKE2b-256 |
19308667646851fcc6458129e4c9ab91060c3173c6f50b4e6630b5afea0c4fdd
|