[FIX] email_template: fixed an issue where no destination partner could be found.

bzr revid: tde@openerp.com-20120807160924-hdnqudnwowkbmsem
This commit is contained in:
Thibault Delavallée 2012-08-07 18:09:24 +02:00
parent c433498ef7
commit f725d5e679
1 changed files with 1 additions and 0 deletions

View File

@ -317,6 +317,7 @@ class email_template(osv.osv):
'message_id': False,
'state': 'outgoing',
'content_subtype': 'plain',
'partner_ids': [],
}
if not template_id:
return values