Handle evaluation error in get_cost_price of cost price revision
The method can be called with unsaved record so the check has not yet been called.
Closes #12216 (closed)
The method can be called with unsaved record so the check has not yet been called.
Closes #12216 (closed)