Files
stock-rma/rma_repair/models/mrp_repair.py
lreficent dc19acf7df pylint
2025-01-07 12:35:35 +05:30

13 lines
366 B
Python

# -*- coding: utf-8 -*-
# Copyright 2017 Eficent Business and IT Consulting Services S.L.
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html)
from openerp import fields, models
class MrpRepair(models.Model):
_inherit = "mrp.repair"
rma_line_id = fields.Many2one(
comodel_name='rma.order.line', string='RMA', ondelete='restrict')