[FIX] field 'content_type' does not exist in model

bzr revid: rgaopenerp-20121003110001-xdqt5035ddy5964f
This commit is contained in:
RGA(OpenERP)
2012-10-03 16:30:01 +05:30
parent 2d3d478784
commit 98e4bac082
+1 -1
View File
@@ -505,7 +505,7 @@ class test_mail(TestMailMockups):
# 1. mass_mail on pigs and bird
compose_id = mail_compose.create(cr, uid,
{'subject': _subject, 'body': '${object.description}', 'content_type': 'html'},
{'subject': _subject, 'body': '${object.description}'},
{'default_composition_mode': 'mass_mail', 'default_model': 'mail.group', 'default_res_id': False,
'active_ids': [self.group_pigs_id, group_bird_id]})
compose = mail_compose.browse(cr, uid, compose_id)