mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[15.0][FIX] rma_sale: fixup of procurement
This commit is contained in:
committed by
JasminSForgeFlow
parent
f21ea33e71
commit
cd5e20e584
@@ -30,6 +30,7 @@ class StockRule(models.Model):
|
||||
)
|
||||
if "rma_line_id" in values:
|
||||
line = values.get("rma_line_id")
|
||||
line = self.env["rma.order.line"].browse([line])
|
||||
if line.reference_move_id:
|
||||
return res
|
||||
if line.sale_line_id:
|
||||
|
||||
Reference in New Issue
Block a user