Inventory zero balance restriction

I want that when I use two location to store my product for sales. In sales order how to stop or warn me to select location where the inventory balance is zero? now it seems if no inventorey but no warning shows but in inventory it seems the balance is minus figure.

The suggestion for low-quantity warnings is already in the ideas category. Meanwhile, negative quantities are Manager’s way of indicating backordered or out-of-stock conditions. But Manager will never stop you from entering a transaction due to low stock, because many users do not order inventory from suppliers until it is ordered by or sold to a customer.