Monday, January 29, 2024
2 changes · 17.0
Resolved issues and error corrections
A recent update to payroll report generation broke the Kenya P9 tax form and NSSF/NHIF reports. This fix restores the ability to generate these critical payroll documents and corrects a calculation error that was causing failures in January. The update also includes sample payroll data for testing.
Original PR description
Commit 7ad17cb introduced a change in the way payroll reports are generated. However, this change forgot to include those changes in the kenyan l10n reporting. This commit adapts the P9 form so it can be generated again.
This update resolves a critical upgrade issue in the Swiss localization module (l10n_ch) where deprecated accounting report expressions were preventing successful system upgrades. The fix removes obsolete data dependencies that were blocking the upgrade process, ensuring users can smoothly update their systems without encountering database errors.
Original PR description
Description of the issue/feature this PR addresses: The module `l10n_ch` after this commit https://github.com/odoo/odoo/commit/7a06ed07814ab8d9192d3a7ec15aba7f90f7294d will have deprecated…
Description of the issue/feature this PR addresses: The module `l10n_ch` after this commit https://github.com/odoo/odoo/commit/7a06ed07814ab8d9192d3a7ec15aba7f90f7294d will have deprecated `account_report_expression` with dependent external values, which causes ForeignKey Violation during the upgrade. Upgrade tries to remove that `expression` because it is deprecated but it has dependent external values. Current behavior before PR: Upgrade tries to remove that `expression` because it is deprecated but it has dependent external values. It will happen to all db's which were on at least `16.0` version before that commit https://github.com/odoo/odoo/commit/7a06ed07814ab8d9192d3a7ec15aba7f90f7294d Desired behavior after PR is merged: That deprecated external values will be deleted in upgrade. In here I delete that external values in migration file and increased the version of module from `11.1`-->`11.2` UPG-1203672 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#150650