From 95274049ce44b8b53b7c89c30b706fa3f188516c Mon Sep 17 00:00:00 2001 From: Sebastien Beau Date: Tue, 25 Mar 2014 15:16:17 +0100 Subject: [PATCH] [FIX] passing the file_type was missing --- file_document.py | 1 + 1 file changed, 1 insertion(+) diff --git a/file_document.py b/file_document.py index 26e4d17b..4b159701 100644 --- a/file_document.py +++ b/file_document.py @@ -70,6 +70,7 @@ class file_document(orm.Model): for att in msg['attachments']: if condition.file_extension in att[0]: vals = { + 'file_type': condition.server_id.file_type, 'name': msg['subject'], 'direction': 'input', 'date': msg['date'],