From e748bb3be3b19ad2368c670de5f546dc027ab5c5 Mon Sep 17 00:00:00 2001 From: Christophe CHAUVET Date: Thu, 23 Jun 2016 17:33:44 +0200 Subject: [PATCH] [FIX] Bad default model_id (#73) [FIX] mail_notification_email_template: Bad default model_id --- mail_notification_email_template/models/mail_message_subtype.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail_notification_email_template/models/mail_message_subtype.py b/mail_notification_email_template/models/mail_message_subtype.py index 64d32d19..f73f137c 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')