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

  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 openerp import models, fields
  7. class email_template(models.Model):
  8. _inherit = "email.template"
  9. sms_template = fields.Boolean('SMS Template')
  10. mobile_to = fields.Char('To (Mobile)')
  11. gateway_id = fields.Many2one('sms.gateway', 'SMS Gateway')