partner-contact/partner_academic_title/models/partner_academic_title.py

19 lines
478 B
Python
Raw Normal View History

2021-03-23 19:36:29 +00:00
# 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)