[FIX] rma: RMA location in the warehouse should not be inside stock

This commit is contained in:
AaronHForgeFlow
2023-11-16 15:40:01 +01:00
committed by Aaron ForgeFlow
parent fcf6da632d
commit ecac0a9c1d

View File

@@ -67,7 +67,7 @@ class StockWarehouse(models.Model):
{
"name": "RMA",
"usage": "internal",
"location_id": wh.lot_stock_id.id,
"location_id": wh.view_location_id.id,
"company_id": wh.company_id.id,
}
)