Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[15.0][FIX] account_invoice_report_grouped_by_picking: Recover default precision_rounding missed in previous PR #341

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading