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.

12 lines
388 B

  1. # Copyright 2019-2020: Druidoo (<https://www.druidoo.io>)
  2. # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
  3. from odoo import _, api, fields, models
  4. from odoo.exceptions import ValidationError
  5. class ResPartnerAgeRange(models.Model):
  6. _inherit = "res.partner.age.range"
  7. name = fields.Char(translate=True)
  8. active = fields.Boolean(string="Active", default=True)