From 935862a66cc1ddf0662906acd73404e92d4f965a Mon Sep 17 00:00:00 2001 From: laurentbarontini Date: Sun, 8 Feb 2026 22:31:50 +0100 Subject: [PATCH] 08.02.26 --- modules/purchase_trade/pricing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')