You probably meant Qty on hand right?
Anyway, if you want the old behaviour where sales invoice is not decreasing Qty on hand, check the Column - Qty delivered checkbox on sales invoice.
See: Added optional "Qty received" and "Qty delivered" columns to invoices