Go to Setting > Business Setting > Product > Enable Warranty.
Using Warranty
Adding Warranty: Add warranty types by going to Products > Warranty.
Assigning Warranty for Products: Go to Add/Edit product and select the warranty applicable for the product.
Sell with Warranty: Products with assigned warranty will use the transaction date as the warranty start date. To display the warranty on receipts, enable it from Invoice Layout.