diff --git a/modules/purchase_trade/pricing.py b/modules/purchase_trade/pricing.py index d58c910..688b9a7 100755 --- a/modules/purchase_trade/pricing.py +++ b/modules/purchase_trade/pricing.py @@ -120,7 +120,7 @@ class MtmStrategy(ModelSQL, ModelView): total += value * qty - return total + return Decimal(str(total)).quantize(Decimal("0.01")) def _get_matrix_price(self, comp, line, dt): MatrixLine = Pool().get('price.matrix.line')