[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:
parent
28a41dc801
commit
5ce340694e
|
@ -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>',
|
||||
|
|
Loading…
Reference in New Issue