[FIX] passing the file_type was missing

This commit is contained in:
Sebastien Beau 2014-03-25 15:16:17 +01:00
parent e7139d3a5d
commit 95274049ce

View File

@ -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'],