v 7.0 v 9.0 v 11.0 v 12.0 Third Party 39
Download for v 7.0
Odoo Online
On Premise
Community Apps Dependencies
Technical Name attachment_azure
Versions 9.0 7.0 11.0 12.0
You bought this module and need support? Click here!

Attachments on Microsoft Azure Blob Storage

This addon allows to store the attachments (documents and assets) on Microsoft Azure Blob Storage.


Activate Azure Blob storage:

  • Create or set the system parameter with the key ir_attachment.location and the value in the form azure.

Configure accesses with environment variables:


One container will be created per database using the RUNNING_ENV environment variable and the name of the database. By default, RUNNING_ENV is set to dev.

The container name can be overridden with environment variable AZURE_STORAGE_NAME. The strings {db} and {env} can be used inside that variable and the values will be replaced respectively by the database name and environment name.

The container name will also be stored in the database for each attachment, and will be used to access the right container in the storage.

This addon must be added in the server wide addons with (--load option):


The System Parameter ir_attachment.storage.force.database can be customized to force storage of files in the database. See the documentation of the module base_attachment_object_storage.


  • You need to call env['ir.attachment'].force_storage() after having changed the ir_attachment.location configuration in order to migrate the existing attachments to Azure Blob Storage.

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.