Monday, January 13, 2025
3 changes · saas-17.4
Resolved issues and error corrections
Invoices with a single tax base amount no longer show redundant “tax on” base details caused by rounding differences. This keeps printed invoice tax summaries clearer and avoids confusing customers with unnecessary duplicate amount information.
Original PR description
Reproduce on runbot:
1. Create an invoice with
line1: quantity = 1, unit price = 14.9, taxes = 15%
line2: quantity = 1, unit price = 59.7, taxes = 15%
2. Print the invoice
3. On the invoice it says:
Untaxed Amount | $ 74.60
Tax 15% on $ 74.60 | $ 11.20
Total | $ 85.80
Since 74.60$ is the full base amount we do not want to display the "on $ 74.60" (base amount information) part of the tax information.
Basically we want to display the base amounts only in case there is not just a single base amount.
The error is due to a floating point / rounding issue; some but not all considered base amounts are rounded. (see reproduction example below). This is fixed in this commit by rounding all the amounts.
The logic broke in 17.4 due to the rounding improvement in commit c41b7f76611f05b193ee7739148267dacaaa138a .
opw-4344501The CRM onboarding guide now highlights only the correct New button in the CRM leads kanban view. This prevents confusion when users are learning how to create new CRM leads.
Original PR description
Tour bubble points to every New button in kanban. Fixed it to only point at New button in crm lead kanban view. Task-4377574
Fixed an issue that could cause an error when printing a Chilean POS invoice receipt immediately after validating payment. This helps cashiers complete sales smoothly without console errors interrupting the receipt flow.
Original PR description
This commit https://github.com/odoo/enterprise/commit/49d19b63d8e6ea44fdeeb1023d962191c6897e24 is missing optional chaining for `name` as `order.account_move?.l10n_latam_document_type_id` can be undefined. Steps to reproduce: - Install l10n_cl - Select the CL Company - Go to POS - Select products - Change the client to Blanco Martin & Asociados EIRL (has all the information for l10n_cl) - Click on "payment" - Select any payment method - Select the option "Invoice" - Validate - Console error opw-4455627