mirror of
https://gitlab.com/flectra-community/partner-contact.git
synced 2024-11-15 02:32:04 +00:00
19 lines
478 B
Python
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)
|