From a5212ece3ae08064a751751d900a00cd0ffa68d8 Mon Sep 17 00:00:00 2001 From: sergiocorato Date: Tue, 24 Sep 2024 17:23:26 +0200 Subject: [PATCH] [FIX][16.0] pos_lot_selection rounding in lots search --- pos_lot_selection/models/stock_lot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pos_lot_selection/models/stock_lot.py b/pos_lot_selection/models/stock_lot.py index 974577f537..a41754d276 100644 --- a/pos_lot_selection/models/stock_lot.py +++ b/pos_lot_selection/models/stock_lot.py @@ -22,7 +22,7 @@ def get_available_lots_for_pos(self, product_id, company_id): lots = lots.filtered( lambda l: float_compare( - l.product_qty, 0, precision_digits=l.product_uom_id.rounding + l.product_qty, 0, precision_rounding=l.product_uom_id.rounding ) > 0 )