How to receive warning messages if the selling price is less than purchase price?

Please go to the settings >> click on preferences >> click on sales >> enable warm user option >> click on save and update.