mirror of
https://github.com/OCA/rma.git
synced 2025-02-16 17:11:47 +02:00
[ADD] add rma_lot
This commit is contained in:
committed by
Antoni Marroig Campomar
parent
26ef1d15b3
commit
d7b0e2e4af
1
rma_lot/wizards/__init__.py
Normal file
1
rma_lot/wizards/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
from . import stock_return_picking_line
|
||||
14
rma_lot/wizards/stock_return_picking_line.py
Normal file
14
rma_lot/wizards/stock_return_picking_line.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# Copyright 2024 ACSONE SA/NV
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import models
|
||||
|
||||
|
||||
class StockReturnPickingLine(models.TransientModel):
|
||||
|
||||
_inherit = "stock.return.picking.line"
|
||||
|
||||
def _prepare_rma_vals(self):
|
||||
vals = super()._prepare_rma_vals()
|
||||
vals.update({"lot_id": self.lot_id.id})
|
||||
return vals
|
||||
Reference in New Issue
Block a user