mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[ADD] Notes to ServPro, add ServPro to Agreement
[IMP] Flake8 [IMP] github changes [IMP] Placeholder in notes remove <p><br></p>
This commit is contained in:
12
agreement_serviceprofile/models/agreement.py
Normal file
12
agreement_serviceprofile/models/agreement.py
Normal 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 Agreement(models.Model):
|
||||
_inherit = 'agreement'
|
||||
|
||||
serviceprofile_ids = fields.One2many('agreement.serviceprofile',
|
||||
'agreement_id',
|
||||
string="Service Profiles")
|
||||
Reference in New Issue
Block a user