Tuesday, February 3, 2026
1 change · saas-18.4
Enhancements to existing features
Odoo now preserves full product price precision when calculating invoice and order line totals, while still showing a clean minimum number of decimals in the interface. This helps imported documents, especially Peppol invoices, match the original totals more reliably and reduces rounding discrepancies.
Original PR description
Imported invoices can show different totals than what the original document show. This especially an issue for Peppol. Because `price_unit` is rounded, by computing the total of a line with `quantity * price_unit`, it may not be possible to obtain the same total as the one from the original document. To face this issue, the float fields related to "Product Price" don't have a decimal precision set anymore. To keep the UI clean, the precision set on "Product Price" is now interpreted as a "minimal precision". So if it set to 3, we'll see at least 3 digits. If there's more, all the digits are shown. As so: `4.0` -> `'4.000'` `4.23` -> `'4.230'` `4.235` -> `'4.235'` `4.2358` -> `'4.23458'` task-4895014 Forward-Port-Of: odoo/odoo#246616 Forward-Port-Of: odoo/odoo#243987