[ADD] agreement_maintenance

This commit is contained in:
Maxime Chambreuil
2019-01-24 12:49:00 -06:00
committed by Murtuza Saleh
parent 6437b39f66
commit 5f14bd47f1
16 changed files with 874 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
# Copyright (C) 2018 - TODAY, Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models
class MaintenanceRequest(models.Model):
_inherit = "maintenance.request"
agreement_id = fields.Many2one('agreement', 'Agreement')
serviceprofile_id = fields.Many2one('agreement.serviceprofile',
'Service Profile')