Files
stock-rma/rma_scrap/models/stock_move.py
2023-06-20 09:10:47 +02:00

15 lines
375 B
Python

# Copyright 2022 ForgeFlow S.L.
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html)
from odoo import fields, models
class StockMove(models.Model):
_inherit = "stock.move"
is_rma_scrap = fields.Boolean(
string="Is RMA Scrap",
copy=False,
help="This Stock Move has been created from a Scrap operation in " "the RMA.",
)