[FIX] stock_quant_reservation_info: Fix for filtering by lot when checking reservation info

This commit is contained in:
Joan Sisquella
2023-05-19 10:02:38 +02:00
committed by Lois Rilo
parent 2f4ce5800f
commit 9ef60b78aa

View File

@@ -27,6 +27,8 @@ class StockQuant(models.Model):
("product_id", "=", self.product_id.id),
("product_uom_qty", ">", 0),
("location_id.usage", "=", "internal"),
("lot_id", "=", self.lot_id.id),
("owner_id", "=", self.owner_id.id),
],
}
return action