[FIX] mass_mailing: fixed email_template preview model

that inherit from email_template; however with the inheritance mechanism of openerp
it is not updated when email_template itself is updated, therefore having to force
an update with a dummy inheritance.

bzr revid: tde@openerp.com-20140325142621-fbxa2gmeo52zf4qw
This commit is contained in:
Thibault Delavallée 2014-03-25 15:26:21 +01:00
parent 283ce860fc
commit 3c79803ce0
1 changed files with 5 additions and 0 deletions

View File

@ -29,3 +29,8 @@ class EmailTemplate(osv.Model):
'views': [(False, 'form')],
'context': ctx,
}
class email_template_preview(osv.TransientModel):
_name = "email_template.preview"
_inherit = ['email.template', 'email_template.preview']