Files
contract/agreement_legal/models/product_template.py
Yves Goldberg f597f4cca8 [ADD] agreement_legal migration
[FIX] flake8(2)
2021-05-14 08:32:37 +02:00

13 lines
295 B
Python

# Copyright (C) 2018 - TODAY, Pavlov Media
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models
class Product(models.Model):
_inherit = "product.template"
agreements_ids = fields.Many2many(
"agreement",
string="Agreements")