Skip to content

Commit

Permalink
[FIX][16.0] pos_lot_selection rounding in lots search
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiocorato committed Sep 24, 2024
1 parent f808797 commit a5212ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pos_lot_selection/models/stock_lot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit a5212ec

Please sign in to comment.