From b61d73b42a1ce6d1192f0fe9b04c5bc13691f3ed Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Mon, 26 Jan 2015 12:14:49 +0100 Subject: [PATCH] [FIX] set the data column to null when writing again --- attachments_to_filesystem/models/ir_attachment.py | 1 + 1 file changed, 1 insertion(+) 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):