I am working on odoo11 point of sale, and want the user not to sell out of stock or negative stock items, where if the user selects the particular product, a warning should pop up that 'there is no stocks available for this product,
I know this is a simple one but I dont know where to apply the condition,
also I dont want to use any third party apps