mirror of
https://gitlab.com/flectra-community/partner-contact.git
synced 2024-12-24 05:11:47 +00:00
18 lines
480 B
Python
18 lines
480 B
Python
|
# Copyright 2019 Patrick Wilson <patrickraymondwilson@gmail.com>
|
||
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
||
|
|
||
|
from flectra import fields, models
|
||
|
|
||
|
|
||
|
class PartnerPriority(models.Model):
|
||
|
_name = "partner.priority"
|
||
|
_order = "sequence"
|
||
|
_description = "Partner Priority"
|
||
|
|
||
|
name = fields.Char(string="Priority", required=True)
|
||
|
description = fields.Text(required=True)
|
||
|
sequence = fields.Integer(
|
||
|
required=True,
|
||
|
default=0,
|
||
|
)
|