The project is migrating from 6.0 to 6.6 (yes, I know that we should do incremental migration) and it works perfect at local, but when I run a Solr indexation on a QA server, the line getCommerceStockService().getStockLevelStatusForProductAndBaseStore(product, baseStore) from the stock value provider always returns "OUTOFSTOCK" when there is stock.
The same line is called through the productData populator for the product page and in a custom cronjob I've made, in both places it return if there is stock correctly and all three have the same bean mapped to commerceStockService.
The stock levels are not forced out of stock, and if I set the property to "force in stock", it is ignored.