mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-21 19:47:24 -06:00
[FIX] passing the file_type was missing
This commit is contained in:
parent
e7139d3a5d
commit
95274049ce
@ -70,6 +70,7 @@ class file_document(orm.Model):
|
|||||||
for att in msg['attachments']:
|
for att in msg['attachments']:
|
||||||
if condition.file_extension in att[0]:
|
if condition.file_extension in att[0]:
|
||||||
vals = {
|
vals = {
|
||||||
|
'file_type': condition.server_id.file_type,
|
||||||
'name': msg['subject'],
|
'name': msg['subject'],
|
||||||
'direction': 'input',
|
'direction': 'input',
|
||||||
'date': msg['date'],
|
'date': msg['date'],
|
||||||
|
Loading…
Reference in New Issue
Block a user