Move existing attachments to filesystem

by ,
v 7.0 v 8.0 Third Party 845
Download for v 7.0
Odoo Online
On Premise
Technical Name attachments_to_filesystem
Versions 7.0 8.0
You bought this module and need support? Click here!


This addon allows to automatically move existing attachments to the file system.


If it doesn't exist, the module creates a parameter ir_attachment.location with value file:///filestore. This will make new attachments end up in your root path (the odoo configuration value root_path) 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.





Odoo Community Association

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

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.