Browse Source

[FIX] Bad default model_id (#73)

[FIX] mail_notification_email_template: Bad default model_id
pull/76/head
Christophe CHAUVET 8 years ago
committed by Pedro M. Baeza
parent
commit
e748bb3be3
  1. 2
      mail_notification_email_template/models/mail_message_subtype.py

2
mail_notification_email_template/models/mail_message_subtype.py

@ -9,6 +9,6 @@ class MailMessageSubtype(models.Model):
template_id = fields.Many2one(
'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 '
'for this subtype')
Loading…
Cancel
Save