[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 SergiCForgeFlow
parent 8bc978ca4a
commit 694bf0583c

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