[ADD] agreement_maintenance

This commit is contained in:
Maxime Chambreuil
2019-01-24 12:49:00 -06:00
parent 2d617b9e1f
commit 69e6955969
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')