diff --git a/stock.py b/stock.py index 7a34a7ec37..9bce696351 100644 --- a/stock.py +++ b/stock.py @@ -59,7 +59,7 @@ class Move: 'uom': uom.id, })) remainder -= quantity - remainder = Uom.round(remainder, uom.rounding) + remainder = uom.round(remainder) if count: count -= 1 assert remainder >= 0