partner-contact/partner_priority/models/partner_priority.py

18 lines
480 B
Python
Raw Normal View History

2021-03-23 19:13:18 +00:00
# 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,
)