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.

15 lines
625 B

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