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.

27 lines
784 B

  1. # Copyright (C) 2018 - TODAY, Pavlov Media
  2. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  3. from odoo import fields, models
  4. # Main Agreement Increase Type Records Model
  5. class AgreementIncreaseType(models.Model):
  6. _name = "agreement.increasetype"
  7. _description = "Agreement Increase Type"
  8. # General
  9. name = fields.Char(
  10. string="Title",
  11. required=True,
  12. help="Increase types describe any increases that may happen during "
  13. "the contract.",
  14. )
  15. description = fields.Text(
  16. string="Description",
  17. required=True,
  18. help="Description of the renewal type."
  19. )
  20. increase_percent = fields.Integer(
  21. string="Increase Percentage",
  22. help="Percentage that the amount will increase."
  23. )