A quality check results in either PASS or FAIL. Material can be accepted either if quality check PASSED or even with an exception. If it FAILED, the decision has to be taken with manual interruption. Odoo will not force you to return the product or reject the incoming shipment.
However, we can process the return of the product manually if it failed at the reception, or we do not have a choice other than scrapping the product if the warranty has passed. Let's see how we can set the quality check based on the measure and process the return and scrapping of product in Inventory when the quality check fails.