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

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