[FIX] mail: wrong passing of parameter context
bzr revid: rco@openerp.com-20111201151423-dmh2539fnc31q0zh
This commit is contained in:
parent
e3c680eb31
commit
ae9c126ab5
|
@ -236,7 +236,7 @@ class mail_compose_message(osv.osv_memory):
|
|||
attachments=attachment, references=references, res_id=int(mail.res_id),
|
||||
subtype=mail.subtype, headers=headers, context=context)
|
||||
# in normal mode, we send the email immediately, as the user expects us to (delay should be sufficiently small)
|
||||
mail_message.send(cr, uid, [msg_id], context)
|
||||
mail_message.send(cr, uid, [msg_id], context=context)
|
||||
|
||||
return {'type': 'ir.actions.act_window_close'}
|
||||
|
||||
|
|
Loading…
Reference in New Issue