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.

16 lines
433 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 AgreementType(models.Model):
  5. _name = "agreement.type"
  6. _description = "Agreement Types"
  7. name = fields.Char(string="Name", required=True)
  8. agreement_subtypes_ids = fields.One2many(
  9. "agreement.subtype",
  10. "agreement_type_id",
  11. string="Subtypes"
  12. )