[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:
parent
283ce860fc
commit
3c79803ce0
|
@ -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']
|
||||
|
|
Loading…
Reference in New Issue