Tuesday, February 10, 2026
3 changes · saas-18.4
Enhancements to existing features
This update adjusts a key parameter within the Australian payroll module (l10n_au_hr_payroll) to comply with updated 2026 PEA (Pay-As-You-Earn) tax regulations. This ensures accurate payroll calculations and reporting for Australian businesses using Odoo Enterprise. It's a necessary update to maintain compliance.
Original PR description
This task updates PEA rule parameter value task-5884083 Forward-Port-Of: odoo/enterprise#105896
Resolved issues and error corrections
This update fixes a reporting issue related to Spanish withholding taxes. Specifically, it ensures that 'type for 347' fields are left blank when processing invoices with withholding taxes, aligning with Spanish tax regulations. This improves the accuracy of financial reports for Spanish businesses using Odoo Enterprise.
Original PR description
- Moves that use withholding taxes should have the `type for 347` unselected and left blank. Related PR : https://github.com/odoo/odoo/pull/245828 task-5732679 Forward-Port-Of: odoo/enterprise#106796 Forward-Port-Of: odoo/enterprise#105597
This update resolves an issue where invoice exports were failing when invoices contained a section or note line as the first entry. The fix filters out these lines during currency rate calculations, preventing a division-by-zero error and ensuring invoices can be correctly sent and downloaded. This improves the reliability of invoice export processes.
Original PR description
Before this commit: Steps 1) Create an invoice with a section or note line as the first line 2) Try to send or download the invoice => A traceback error is raised with the message: File "/home/odoo/src/enterprise/17.0/l10n_cl_edi_exports/models/account_move.py", line 68, in _get_inverse_currency_rate return float_round(abs(self.line_ids[0].balance / self.line_ids[0].amount_currency), 2) ZeroDivisionError: float division by zero This occurs because the `_get_inverse_currency_rate()` method is dividing over self.line_ids[0].amount_currency which is always equal to 0 in case of section or note line is added as a first line in the invoice. After this commit: Filtering out section and note lines in _get_inverse_currency_rate() to correctly calculation the inverse currency rate opw-5488417 Forward-Port-Of: odoo/enterprise#105774