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
542 B

# coding: utf-8
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
# Copyright (C) 2013 Julius Network Solutions SARL <contact@julius.fr>
# Copyright (C) 2015 Valentin Chemiere <valentin.chemiere@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import models, fields
class MailTemplate(models.Model):
_inherit = "mail.template"
sms_template = fields.Boolean('SMS Template')
mobile_to = fields.Char('To (Mobile)')
gateway_id = fields.Many2one('sms.gateway', 'SMS Gateway')