mirror of
https://github.com/camptocamp/odoo-cloud-platform.git
synced 2026-06-24 08:47:40 +00:00
Support minio.io for DEV without error
This commit is contained in:
@@ -133,10 +133,15 @@ class IrAttachment(models.Model):
|
||||
_logger.exception(
|
||||
"Object %s does not exists on S3 bucket" % fname
|
||||
)
|
||||
elif error_code == 'NotImplemented':
|
||||
_logger.exception(
|
||||
"S3 storage does not implement ACL" % fname
|
||||
)
|
||||
else:
|
||||
_logger.exception(
|
||||
"Cannot set ACL %s on object %s" % (acl, fname)
|
||||
)
|
||||
return False
|
||||
else:
|
||||
_logger.warning("Cannot set ACL on object not stored on S3")
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user