[ADD] agreement_maintenance

This commit is contained in:
Bhavesh Odedra
2018-10-26 22:55:31 +05:30
committed by Maxime Chambreuil
parent 75d973b38a
commit 2481c8d4f3
28 changed files with 421 additions and 21 deletions

View File

@@ -0,0 +1,15 @@
# Copyright (C) 2018 - TODAY, Pavlov Media
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models
class Agreement(models.Model):
_inherit = 'agreement'
serviceprofile_ids = fields.One2many(
'agreement.serviceprofile',
'agreement_id',
string="Service Profile",
copy=True
)