From 232379b77a6cc1560ea7003a3775db52ca6dd71c Mon Sep 17 00:00:00 2001 From: Carlos Dauden Date: Tue, 22 Oct 2024 11:51:05 +0200 Subject: [PATCH] [FIX] account_invoice_report_grouped_by_picking: Recover default precision_rounding removed in previous PR TT51404 --- .../models/account_move.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/account_invoice_report_grouped_by_picking/models/account_move.py b/account_invoice_report_grouped_by_picking/models/account_move.py index bfdeeb6d..3e2b38b8 100644 --- a/account_invoice_report_grouped_by_picking/models/account_move.py +++ b/account_invoice_report_grouped_by_picking/models/account_move.py @@ -129,7 +129,8 @@ def lines_grouped_by_picking(self): # To avoid to print duplicate lines because the invoice is a refund # without returned goods to refund. remaining_qty = float_round( - remaining_qty, precision_rounding=line.product_id.uom_id.rounding + remaining_qty, + precision_rounding=line.product_id.uom_id.rounding or 0.01, ) if ( self.move_type == "out_refund"