Sunday, January 25, 2026
1 change · saas-18.3
Resolved issues and error corrections
This update resolves a bug that occurred when generating reports for German-speaking customers. Specifically, a division-by-zero error was triggered when currency exchange differences (where the amount currency was zero) were processed. The fix ensures accurate report generation by ignoring currency rates for these zero-amount lines.
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#105360