Tuesday, July 15, 2025
4 changes · master
Resolved issues and error corrections
Address validation in AvaTax could trigger translation warnings because the system could not reliably determine the user language in this case. The fix updates how translated text is handled, making AvaTax address checks more stable without changing business workflows.
Original PR description
Prior to this commit, a translation issue occurred due to the use of a list comprehension. The _get_translation_source function attempts to scan the local variables, but in the context of a list comprehension, only variables defined within the comprehension are accessible. As a result, variables like uuid and cursor were not available to the _get_lang function, ultimately leading to an error. We replaced the list comprehension with a standard for loop to ensure proper access to local variables. runbot-159883 Forward-Port-Of: odoo/enterprise#88651
This fixes rare cases where Hong Kong payroll payslip amounts did not match the HSBC autopay file because decimals were handled differently. The autopay export now aligns with the payslip rounding, reducing payment reconciliation issues.
Original PR description
Explanation: In some rare cases, the autopay amount in payslip and the amount in hsbc autopay file doesn't match. This is due to hsbc autopay files are trimming all the decimal places, and the amount in payslip are rounded. Forward-Port-Of: odoo/enterprise#89118
Unused code from an earlier spreadsheet version history approach was removed after the feature was refactored. This reduces maintenance risk without changing how users access or use version history.
Original PR description
Some leftover code was left from when we refactored the version history feature to load a new model instead of using undo/redo for the revisions. Task: [4942548](https://www.odoo.com/odoo/2328/tasks/4942548)
Helpdesk rating views now display when a rating was given instead of when the record was created. This makes customer feedback timelines clearer and avoids confusion when reviewing service performance.
Original PR description
Changed new field of view to show the rating date. Task-4023246