You can enable warehouses to automatically remove items when they are sold out. This is especially useful for seasonal and promotional items or for situations where you expect a product's entire stock to be sold before replenishment, or intend to receive that product to a new location when it is replenished.
Go to Inventory > Warehouses tab and select the warehouse you would like to enable this option for.
Select Edit.
Toggle the option to "Remove out-of-stock items".
This will affect on all items within the warehouse. If you only want certain items to be removed from your warehouses when they sell out, you can manage them independently by creating a new warehouse for seasonal, promotional, etc. items only.