From d48a418490cd2a85c7af041ddb4af26b64bbcbc0 Mon Sep 17 00:00:00 2001 From: Guewen Baconnier Date: Tue, 4 Jun 2019 13:19:17 +0200 Subject: [PATCH] Update base_attachment_object_storage/models/ir_attachment.py --- base_attachment_object_storage/models/ir_attachment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_attachment_object_storage/models/ir_attachment.py b/base_attachment_object_storage/models/ir_attachment.py index 7e4b72c..11051dc 100644 --- a/base_attachment_object_storage/models/ir_attachment.py +++ b/base_attachment_object_storage/models/ir_attachment.py @@ -316,7 +316,7 @@ class IrAttachment(models.Model): # write them back in the DB (the logic for location to write is # in the 'datas' inverse computed field) attachment.write({'datas': attachment.datas}) - # as the file will potentially be dropped on the bucket, + # as the file will potentially be deleted from the bucket, # we should commit the changes here new_env.cr.commit() if current % 100 == 0 or total - current == 0: