Thursday, June 2, 2022
2 changes
Resolved issues and error corrections
Spreadsheet currency rate lookups now use the same date logic as currency rates created by users, including the creator's time zone. This helps prevent incorrect exchange rates from being used around date boundaries, improving accuracy for financial reporting.
Original PR description
The defaut `name` (which is a Date) of a `res.currency.rate` is computed based on its creator's TZ. The look up of currency rates in spreadsheet should follow the same logic. Task 2869705
This fix prevents an access error from appearing when an employee is archived in cases involving payroll contracts or departure documents. It helps HR teams complete employee departures smoothly without being blocked by permissions issues.
Original PR description
community PR - odoo/odoo#91332 task - 2811165