| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 827 |
| Technical Name |
aliyun_oss_storage |
| License | OPL-1 |
| Website | https://yeada.tech |
| Versions | 17.0 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 827 |
| Technical Name |
aliyun_oss_storage |
| License | OPL-1 |
| Website | https://yeada.tech |
| Versions | 17.0 18.0 19.0 |
Alibaba Cloud OSS Attachment Storage
Store Odoo attachments in Alibaba Cloud OSS (Object Storage Service)
Preview
Preview
Overview
This module seamlessly replaces Odoo's default local filestore with Alibaba Cloud OSS (Object Storage Service). Once enabled, all attachments — product images, documents, reports, email attachments — are automatically stored in your OSS bucket instead of consuming local disk space.
Built on the boto3 S3-compatible API. Works with any OSS region globally. Supports Virtual-Hosted and Path-Style addressing, auto-detection, and per-model path / bucket overrides.
Key Features
- Transparent storage replacement — enable one toggle, all new attachments go to OSS automatically.
- Built-in connection test — verify AK/SK, endpoint, bucket existence, and read/write with a single click.
- Flexible path patterns — use
{year},{month},{day},{model},{dbname}to organize files in OSS. - Per-model path & bucket override — product images in one bucket, invoices in another, each with its own directory structure.
- Auto addressing style — let botocore decide between Virtual-Hosted and Path-Style, or override manually.
- Dedup-aware file deletion — shared files are only purged from OSS when the last reference is removed.
- Image thumbnail support — resized images and thumbnails stream correctly from OSS.
- Signature V2 mode — avoids XAmzContentSHA256Mismatch errors with S3-compatible providers.
Requirements
- Python package: boto3 (installed automatically by Odoo's dependency system)
- An Alibaba Cloud account with an OSS bucket already created
- AccessKey (AK/SK) with
ListBuckets,PutObject,GetObject,DeleteObjectpermissions on the bucket
Quick Start
- Install the module and restart Odoo.
- Navigate to Settings → Technical → OSS Storage → OSS Configuration.
- Fill in your AK, SK, Endpoint URL, Region, and Bucket Name.
- Click Test Connection to verify everything works.
- Enable the configuration and save — all new attachments will now be stored in OSS.
Support
If you encounter any issues or need assistance with the software, please contact our support team:
- Email: hspring0077@gmail.com
- Phone: +86 18239738197
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module