Fixed the error for Spree::Variant(#94476280) expected, got String(#12143400)

While transferring the stock from one place to another was getting the error 

`Spree::Variant(#94476280) expected, got String(#12143400)`