mirror of https://github.com/OCA/social.git
[FIX] Bad default model_id (#73)
[FIX] mail_notification_email_template: Bad default model_idpull/76/head
parent
6a35bc8622
commit
e748bb3be3
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue