Similar to issue7398, the computation of the remaining quantity (for stock move and invoice line) is rounded. So a lost of precision can lead to ship or invoice less than requested (if the uom has a high rounding value).
I think a similar solution should be applied by using the best uom for the remaining quantity.