Sales price problem

how to prevent selling any item lower than its cost price?

At present there is no such option. In the inventory tab you can set the cost price and sale price for an inventory item. This price will automatically appear in the sales invoices when the inventory item is selected.