I believe I have figured it out. This is what one can do:
- In order to sell virtual products/kits, you need to increase stock, but since this is not a real product but only virtual and taken out of sub-products’ stock when shipping (or invoicing, etc.), when you add the virtual stock (pick any number that works, doesn’t really matter), you have to check “Deactivate the stock change for all the subproducts of this Kit during this movement.”
- In Stock module, make sure there is a rule for automatic stock decrease (also increase if you need) checked.
Now when you ship the virtual product/kit, the sub-products are taken out of the existing stock.
The important thing here is that the stock for virtual products/kits in this set up are not real but only “realized” at the moment of delivery when the kit is assembled. It makes sense to create a “virtual stock” that is not bigger than the smallest stock of the sub-products it contains. But you need to manage this stock yourself.