Fixing bug 1247, cannot save shipping record

--HG--
extra : source : 95e34e449df9539fbc9da6677f14cf58328cf16c