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.

21 lines
762 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. class AgreementServiceProfile(models.Model):
  5. _name = 'agreement.serviceprofile'
  6. _description = 'Agreement Service Profiles'
  7. name = fields.Char(string="Name", required=True)
  8. agreement_id = fields.Many2one('agreement', string="Agreement",
  9. ondelete="cascade")
  10. active = fields.Boolean(string="Active",
  11. default=True,
  12. help="If unchecked, it will allow you " +
  13. "to hide this service profile"
  14. " without removing it.")
  15. notes = fields.Text(string="Notes")