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.

15 lines
383 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. _inherit = "agreement.type"
  6. _description = "Agreement Types"
  7. agreement_subtypes_ids = fields.One2many(
  8. "agreement.subtype",
  9. "agreement_type_id",
  10. string="Subtypes"
  11. )