mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[ADD] agreement_mrp
This commit is contained in:
committed by
Maxime Chambreuil
parent
19ab42e585
commit
089dbda9b3
12
agreement_mrp/models/mrp.py
Normal file
12
agreement_mrp/models/mrp.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 MRPProduction(models.Model):
|
||||
_inherit = "mrp.production"
|
||||
|
||||
agreement_id = fields.Many2one('agreement', 'Agreement')
|
||||
serviceprofile_id = fields.Many2one('agreement.serviceprofile',
|
||||
'Service Profile')
|
||||
Reference in New Issue
Block a user