Friday, March 7, 2025
3 changes · saas-18.1
Resolved issues and error corrections
Payment records now only choose or refresh their journal automatically when the payment is new or when its company changes. This prevents existing payments from having their journal unexpectedly recalculated, reducing the risk of accounting inconsistencies.
Original PR description
We only want to compute a journal id for a payment if: - it's a new payment (never saved). - the company changed. task-id: none --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes a typo that prevented the Cloudflare Turnstile website check code from running. It helps ensure the intended visitor verification works properly on website forms that use this protection.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Kenya payroll SHIF report has been corrected so it works after the payslip reference field changed. It also excludes payslips with no SHIF or NHIF amount, preventing zero-value entries from appearing in the report.
Original PR description
Problem ---------- - Number field of HrPayslip model was removed, it makes crash the SHIF Report wizard - Demo data payslips doesn't contains NHIF or SHIF amount, it makes the SHIF report wizard add the payslip with an amount of 0. Objective ---------- - check if the SHIF/NHIF amount == 0 before add it in report entries. - recompute the demo data after the shif module installation Solution ---------- - replace payslip.number by payslip.name - add a condition on the SHIF/NHIF amount to add the payslip task-4463586