Inventory: Fix a issue actual stocks are not cancelled when cancelling inventories.