-
-
Notifications
You must be signed in to change notification settings - Fork 201
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Module
fs_attachment
Describe the bug
Attachments are not being saved to the S3 storage backend despite the RUNNING_ENV and SERVER_ENV_CONFIG environment variables being set.
To Reproduce
Affected versions:
Odoo 16.0
Steps to reproduce the behavior:
- Set the
RUNNING_ENVandSERVER_ENV_CONFIGenvironment variables.
RUNNING_ENV=dev
SERVER_ENV_CONFIG=
[fs_storage.aqela]
protocol=s3
directory_path=partner_files
options={"key": "<key>", "secret": "<secret>", "client_kwargs": {"endpoint_url": "https://my-url.com"}}
use_as_default_for_attachments=True
use_filename_obfuscation=True
model_xmlids=projects.partner_file
- Attempt to upload an attachment.
Expected behavior
Attachments should be saved to the S3 storage backend as configured in the SERVER_ENV_CONFIG.
Additional context
- OS: Debian GNU/Linux 11 (bullseye)
- Python version: 3.9.2
- Docker Compose is used for deployment.
- The
server_environmentmodule is installed and configured. - The
fs.storagemodel is set to use S3 with the correct protocol and options.
Yusuke1998
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working