Goto - Settings - My Account - Click Inventory Deduction Settings
Select your preferences from individual dropdowns. You are able to choose for your inventory to be deducted when orders are pending, packed, ready to ship , shipped or even delivered.