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

  1. # -*- coding: utf-8 -*-
  2. # © 2015 Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
  3. # © 2015 Antonio Espinosa <antonioea@antiun.com>
  4. # © 2015 Javier Iniesta <javieria@antiun.com>
  5. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
  6. from openerp import models, fields
  7. class MailMassMailingList(models.Model):
  8. _inherit = 'mail.mass_mailing.list'
  9. partner_mandatory = fields.Boolean(string="Mandatory Partner",
  10. default=False)
  11. partner_category = fields.Many2one(comodel_name='res.partner.category',
  12. string="Partner Tag")