Inventory: Change to use inventory cache even if we do not specify the date
Tatuya Kamada authored
This is not a new feature, this behavior is compatible with the old caching
implementation that was using inventory_stock table.
In other words, this brings backs the backward compatibility in inventory
caching.

(This commit fixes the incomplete tests that was reverted just before.)
ab075d1f