partner-contact/partner_academic_title/models/partner_academic_title.py
2021-03-23 20:36:29 +01:00

19 lines
478 B
Python

# Copyright 2015-2017 ACSONE SA/NV (<https://acsone.eu>)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from flectra import models, fields
class PartnerAcademicTitle(models.Model):
_name = 'partner.academic.title'
name = fields.Char(
required=True,
translate=True
)
sequence = fields.Integer(
required=True,
help="""defines the order to display titles"""
)
active = fields.Boolean(default=True)