[FIX] email_template: fixed a test, partner_to is a list of ids, but not a python list

bzr revid: tde@openerp.com-20131220102422-holr2goxt823gt5x
This commit is contained in:
Thibault Delavallée 2013-12-20 11:24:22 +01:00
parent 28a41dc801
commit 5ce340694e
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ class TestServerActionsEmail(TestServerActionsBase):
'name': 'TestTemplate',
'email_from': 'myself@example.com',
'email_to': 'brigitte@example.com',
'partner_to': '[%s]' % self.test_partner_id,
'partner_to': '%s' % self.test_partner_id,
'model_id': self.res_partner_model_id,
'subject': 'About ${object.name}',
'body_html': '<p>Dear ${object.name}, your parent is ${object.parent_id and object.parent_id.name or "False"}</p>',