Daily updates from Odoo
Wednesday, July 9, 2025
1 change · saas-18.4
Code cleanup and technical improvements
This change removes an obsolete duplicate calculation function from the HR Work Entry module. It does not change how users work with the system, but it reduces unnecessary code and helps keep future maintenance simpler and safer.
Original PR description
Description of the issue/feature this PR addresses: Following the merge of contracts into versions, a duplicate function _get_duration_batch was created where the old and new ones existed simultaneously with the same function skeleton, this commit removes the old _get_duration_batch Current behavior before PR: No behavior affected Desired behavior after PR is merged: dead code removed --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr