# @author: Ruben Tonetto <ruben.tonetto@gmail.com>
# Copyright Ruben tonetto
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from odoo import fields, models, api


class StockMove(models.Model):
    _inherit = 'stock.move'

    subcontract_line_id = fields.Many2one('purchase.order.line',
        'Subcontract Order Line', ondelete='set null', index=True, readonly=True)
a155e5ecdb64e8bf02e938d61089189fdd1e7a17
<mask token>

<mask token>


class StockMove(models.Model):
    <mask token>
    <mask token>

<mask token>


class StockMove(models.Model):
    _inherit = 'stock.move'
    subcontract_line_id = fields.Many2one('purchase.order.line',
        'Subcontract Order Line', ondelete='set null', index=True, readonly
        =True)

from odoo import fields, models, api


class StockMove(models.Model):
    _inherit = 'stock.move'
    subcontract_line_id = fields.Many2one('purchase.order.line',
        'Subcontract Order Line', ondelete='set null', index=True, readonly
        =True)

# @author: Ruben Tonetto <ruben.tonetto@gmail.com>
# Copyright Ruben tonetto
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from odoo import fields, models, api


class StockMove(models.Model):
    _inherit = 'stock.move'

    subcontract_line_id = fields.Many2one('purchase.order.line',
        'Subcontract Order Line', ondelete='set null', index=True, readonly=True)