You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
488 B
16 lines
488 B
# Copyright 2019 Tecnativa - Jairo Llopis
|
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class MailMassMailingList(models.Model):
|
|
_inherit = 'mail.mass_mailing.list'
|
|
|
|
welcome_mail_template_id = fields.Many2one(
|
|
string="Welcome mail template",
|
|
comodel_name='mail.template',
|
|
ondelete='set null',
|
|
help="Mail template to be sent when a contact is subscribed from "
|
|
"the website."
|
|
)
|