You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
477 B

  1. # Copyright 2019 Patrick Wilson <patrickraymondwilson@gmail.com>
  2. # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
  3. from odoo import fields, models
  4. class PartnerPriority(models.Model):
  5. _name = "partner.priority"
  6. _order = "sequence"
  7. _description = "Partner Priority"
  8. name = fields.Char(string="Priority", required=True)
  9. description = fields.Text(required=True)
  10. sequence = fields.Integer(
  11. required=True,
  12. default=0,
  13. )