[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:
parent
c433498ef7
commit
f725d5e679
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue