Sunday, January 25, 2026
1 change · 19.0
Resolved issues and error corrections
This update resolves a bug that occurred when generating reports for financial transactions with zero currency amounts (like currency exchange differences). The fix prevents a division-by-zero error, ensuring accurate reporting calculations. This improves the reliability of financial reports.
Original PR description
On move lines with zero `amount_currency` ( ex. currency exchange difference ), `_get_product_base_line_currency_rate` returns 0 currency rate which causes a division by zero error. Ignore the rate for lines with zero `amount_currency` opt-5358954 Forward-Port-Of: odoo/enterprise#105432 Forward-Port-Of: odoo/enterprise#105360