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.

13 lines
465 B

  1. # -*- coding: utf-8 -*-
  2. # See README.rst file on addon root folder for license details
  3. from openerp import models, fields
  4. class MailMassMailingList(models.Model):
  5. _inherit = 'mail.mass_mailing.list'
  6. partner_mandatory = fields.Boolean(string="Mandatory Partner",
  7. default=False)
  8. partner_category = fields.Many2one(comodel_name='res.partner.category',
  9. string="Partner Tag")