[FIX] email_template Updated _reopen call according to new function.

bzr revid: tde@openerp.com-20120716173837-t12xb8p270uds508
This commit is contained in:
Thibault Delavallée
2012-07-16 19:38:37 +02:00
parent 21c9788aa7
commit 2cbe5b1b7e
@@ -159,7 +159,7 @@ class mail_compose_message(osv.osv_memory):
'use_template': True})
# _reopen same wizard screen with new template preselected
return _reopen(self, record.id, model)
return _reopen(self, record.id, record.res_id, record.model)
# override the basic implementation
def render_template(self, cr, uid, template, model, res_id, context=None):