Have an easy way to get the stock by lot in one or some locations.
It replies what is available by product, adding functional fields 'quantity' and 'forecast_quantity' in Lot, which get the locations list from context.
If you want the stock separated by different locations you still need to use 'Product.products_by_locations()' function.