Daily updates from Odoo
Tuesday, March 26, 2024
2 changes · master
Resolved issues and error corrections
Payroll structure types now have a consistent ordering, preventing the system from picking different records in identical situations. This improves reliability in payroll processing and avoids unexpected behavior caused by database ordering differences.
Original PR description
This fixes an issue that was revealed by the change in the record updates. The root cause is the fact that the order on model `hr.payroll.structure.type` is nondeterministic. Because the order of row updates is slightly different, `search()` with `limit=1` was returning a different record!
Spreadsheet formula suggestions now use the updated names for pivot functions. This prevents confusion when users type formulas and helps them select the correct pivot-related options.
Original PR description
Pivot functions have been recently renamed by 8f797f954 The auto-complete code was not updated accordingly (it was done in //) Task: 3823297