Validates value correctly in some wizards.

SaleQuoteWizard and OpticalSaleQuoteWizard were not using an already
existent API and was duplicating knowledge. We remove this duplication
and instead reuse what is already there.

Change-Id: I612c2f4572375ab45721443af020f886799295cc
Merge "Validates value correctly in some wizards."