mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
16 lines
440 B
Python
16 lines
440 B
Python
# Copyright (C) 2017-22 ForgeFlow S.L.
|
|
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html)
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class ProcurementGroup(models.Model):
|
|
_inherit = "procurement.group"
|
|
|
|
rma_id = fields.Many2one(
|
|
comodel_name="rma.order", string="RMA", ondelete="set null"
|
|
)
|
|
rma_line_id = fields.Many2one(
|
|
comodel_name="rma.order.line", string="RMA line", ondelete="set null"
|
|
)
|