diff --git a/mail_notification_email_template/models/mail_message_subtype.py b/mail_notification_email_template/models/mail_message_subtype.py index 64d32d191..f73f137c8 100644 --- a/mail_notification_email_template/models/mail_message_subtype.py +++ b/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')