mirror of
https://github.com/camptocamp/odoo-cloud-platform.git
synced 2026-06-24 16:48:36 +00:00
Update attachment_s3/models/ir_attachment.py
Co-Authored-By: Patrick Tombez <35060345+p-tombez@users.noreply.github.com>
This commit is contained in:
co-authored by
GitHub
Patrick Tombez
parent
8f902ed7ea
commit
1ad9a198a2
@@ -123,7 +123,7 @@ class IrAttachment(models.Model):
|
||||
obj = bucket.Object(key=key)
|
||||
obj.Acl().put(ACL=acl)
|
||||
_logger.info(
|
||||
"ACL public-read successfully set on object %s" % fname
|
||||
"ACL %s successfully set on object %s" % (acl, fname)
|
||||
)
|
||||
return True
|
||||
except ClientError:
|
||||
|
||||
Reference in New Issue
Block a user