Do not sell out of stock

Hi everyone,
From already thank you very much.

What I want is to be able to avoid invoices being made with Inventory Items if the Item is out of stock.

Or at least give the notice that we do not have quantity on hand

Greeting