Daily updates from Odoo
Tuesday, July 23, 2019
2 changes
Resolved issues and error corrections
This fix updates French payroll configuration data to use the correct payroll type reference. It helps ensure employee payroll structures for executive and non-executive staff load and work as expected.
This fixes an internal payroll accounting test that could sometimes cancel the wrong payslip because it relied on an unpredictable order. The change makes test results more consistent, helping reduce false failures during development and release checks.
Original PR description
In the test_04_hr_payslip we were depending on the order of the One2many slip_ids, but the order of the recordset is not guaranteed. This lead to non deterministic errors where the wrong payslip was cancelled.