I have a multiple order status setup. I want to reduce stock only for a few order statuses. This is the code I am using.
Stoc