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.

11 lines
321 B

6 years ago
6 years ago
6 years ago
  1. # Copyright (C) 2018 - TODAY, Pavlov Media
  2. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  3. from odoo import models, fields
  4. class Partner(models.Model):
  5. _inherit = 'res.partner'
  6. agreement_ids = fields.One2many('agreement', 'partner_id',
  7. string="Agreements")