partner-contact/partner_priority/models/partner_priority.py
2021-03-23 20:13:18 +01:00

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,
)