diff --git a/attachments_to_filesystem/models/ir_attachment.py b/attachments_to_filesystem/models/ir_attachment.py index 8d82a59a..9970bc46 100644 --- a/attachments_to_filesystem/models/ir_attachment.py +++ b/attachments_to_filesystem/models/ir_attachment.py @@ -95,6 +95,7 @@ class IrAttachment(Model): cr, uid, [attachment_data['id']], { 'datas': attachment_data['datas'], + 'db_datas': False, }, context=context) if not counter % (len(attachment_ids) / 100 or limit):