[FIX] thunderbird: parameters of the history() of partner.py

bzr revid: rha@tinyerp.com-20110504114322-ijfo973i8ru6bxzq
This commit is contained in:
Rifakat Haradwala (Open ERP) 2011-05-04 17:13:22 +05:30
parent 3a904e407b
commit 9be4b6771c
1 changed files with 6 additions and 1 deletions

View File

@ -97,7 +97,12 @@ class thunderbird_partner(osv.osv_memory):
message_id = msg.get('message-id'),
references = msg.get('references', False) or msg.get('in-reply-to', False),
attach = msg.get('attachments', {}),
email_date = msg.get('date'))
email_date = msg.get('date'),
body_html= msg.get('body_html'),
sub_type = msg.get('sub_type'),
headers = msg.get('headers'),
reply = msg.get('reply'),
priority = msg.get('priority'),)
res_ids.append(res_id)
return len(res_ids)