Daily updates from Odoo
Thursday, August 28, 2025
2 changes
Features or functions removed from Odoo
Employee version records no longer keep separate calculated start and end dates, reducing confusion over which dates teams should rely on. The system now uses helper logic to determine the relevant dates consistently across HR, leave, calendar, and work entry processes.
Original PR description
There are currently 5 dates used in a version : - date_version: date at which the version starts to be effective - contract_date_start: start date of the contract - date_start (computed): maximum between the start of contract and the start of version - contract_date_end: end date of the contract - date_end (computed): minimum between the end of contract and the start of next version - 1 day This can create a lot of confusion between which fields should be really used, thus the decision was taken to remove the computed dates and create helper methods in their stead.
This update removes remaining references to old start and end date fields on HR version records across payroll, contracts, time off, documents, and country-specific payroll flows. It keeps those areas aligned with the newer HR data model, reducing the risk of outdated date logic affecting payslips, work entries, leave handling, and reporting.
Original PR description
Changes to files that used the now removed start_date and end_date fields from version