mail_gateway: [Fix] Add date missing in history call

bzr revid: sbh@tinyerp.com-20101119092225-esluz8td3sqfq1er
This commit is contained in:
sbh (Open ERP) 2010-11-19 14:52:25 +05:30
parent 28342c48f3
commit 5c15c0f3f6
1 changed files with 1 additions and 0 deletions

View File

@ -568,6 +568,7 @@ class mailgate_tool(osv.osv_memory):
message_id = msg.get('message-id'),
references = msg.get('references', False) or msg.get('in-reply-to', False),
attach = attachments.items(),
email_date = msg.get('date'),
context = context)
else:
self.history(cr, uid, model, res_ids, msg, attachment_ids, context=context)