[IMP] agreement_maintenance: Link Equipments and Service Profiles

This commit is contained in:
Maxime Chambreuil
2019-08-31 14:40:02 -05:00
committed by Olga Marco
parent 44d2f7e374
commit 7fb84d5696
9 changed files with 103 additions and 6 deletions

View File

@@ -0,0 +1,11 @@
# Copyright (C) 2018 - TODAY, Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import api, fields, models
class AgreementServiceProfile(models.Model):
_inherit = "agreement.serviceprofile"
equipment_id = fields.Many2one('maintenance.equipment',
string='Equipment')