[FIX] Bad default model_id (#73)

[FIX] mail_notification_email_template: Bad default model_id
pull/76/head
Christophe CHAUVET 2016-06-23 17:33:44 +02:00 committed by Pedro M. Baeza
parent 6a35bc8622
commit e748bb3be3
1 changed files with 1 additions and 1 deletions

View File

@ -9,6 +9,6 @@ class MailMessageSubtype(models.Model):
template_id = fields.Many2one( template_id = fields.Many2one(
'email.template', string='Notification template', 'email.template', string='Notification template',
domain=[('model_id.model', '=', 'mail.message.subtype')], domain=[('model_id.model', '=', 'mail.notification')],
help='This template will be used to render notifications sent out ' help='This template will be used to render notifications sent out '
'for this subtype') 'for this subtype')