mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[IMP] agreement_maintenance: Link Equipments and Service Profiles
This commit is contained in:
committed by
Olga Marco
parent
44d2f7e374
commit
7fb84d5696
11
agreement_maintenance/models/agreement_serviceprofile.py
Normal file
11
agreement_maintenance/models/agreement_serviceprofile.py
Normal 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')
|
||||
Reference in New Issue
Block a user