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
12 lines
388 B
# Copyright 2019-2020: Druidoo (<https://www.druidoo.io>)
|
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import _, api, fields, models
|
|
from odoo.exceptions import ValidationError
|
|
|
|
|
|
class ResPartnerAgeRange(models.Model):
|
|
_inherit = "res.partner.age.range"
|
|
|
|
name = fields.Char(translate=True)
|
|
active = fields.Boolean(string="Active", default=True)
|