summaryrefslogtreecommitdiff
path: root/addons/mail/tests/test_mail_template.py
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2016-03-30 11:13:55 +0200
committerRaphael Collet <rco@openerp.com>2016-04-25 13:37:11 +0200
commit84cf3ceb449a8adb4d6a182b19f48395b8db636c (patch)
tree6500fc50a073ce1cc1b5c724c0e71bfc55b005bc /addons/mail/tests/test_mail_template.py
parent1ec7b28a09bead5b5f1f28b38ca4bf203ecd8b09 (diff)
[FIX] base_action_rule, mail, membership, point_of_sale: do not mix cache format with record format
Diffstat (limited to 'addons/mail/tests/test_mail_template.py')
-rw-r--r--addons/mail/tests/test_mail_template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/tests/test_mail_template.py b/addons/mail/tests/test_mail_template.py
index afd93018cf1..485f81bb519 100644
--- a/addons/mail/tests/test_mail_template.py
+++ b/addons/mail/tests/test_mail_template.py
@@ -52,7 +52,7 @@ class TestMailTemplate(TestMail):
values = composer.onchange_template_id(self.email_template.id, 'comment', 'mail.channel', self.group_pigs.id)['value']
# use _convert_to_cache to return a browse record list from command list or id list for x2many fields
- values = self.env['mail.compose.message']._convert_to_cache(values)
+ values = composer._convert_to_record(composer._convert_to_cache(values))
recipients = values['partner_ids']
attachments = values['attachment_ids']