Daily updates from Odoo
Wednesday, July 9, 2025
9 changes
1 change
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
8 changes
Code cleanup and technical improvements
This update reorganizes shared tour-testing utilities so they are easier to split into separate loading bundles later. It should not change day-to-day user behavior, but it supports future performance improvements by loading automatic tour code only when needed.
Original PR description
In this commit, we move step_utils to the root of web_tour/static/src. The goal is to move all the files that are in tour_service into web_tour/static/src and then split it into tour_automatic and tour_interactif in order to create 2 separate bundles and be able to lazy load what tour_automatic needs only when we launch an automatic tour.
This update reorganizes how Frontdesk page content is handled so formatting is applied closer to where the content originates. It should not change the visitor experience, but it makes the Frontdesk code easier to maintain and less prone to future display issues.
Original PR description
markup should be used as close as possible to the data source.
The barcode-related screens were updated to use safer, cleaner ways of building interface text and layout. This reduces internal security warning noise and helps keep warehouse barcode features easier to maintain without changing day-to-day user workflows.
Original PR description
Use markup template and html functions to make the code cleaner and safer while no longer triggering ci/security flag.
The social app’s post formatting code was reorganized to use safer, more consistent markup handling. This reduces internal security warning noise and helps protect how social content is displayed without changing the user experience.
Original PR description
Use markup template and html functions to make the code cleaner and safer while no longer triggering ci/security flag. Also markup should be used as close as possible to the data source. https://github.com/odoo/odoo/pull/216159
The VoIP keypad code was updated to use safer, cleaner markup handling. This reduces internal security scan noise and helps maintain the feature without changing how users interact with it.
Original PR description
Use markup template and html functions to make the code cleaner and safer while no longer triggering ci/security flag.
This update cleans up the live chat helpdesk code by reducing duplicated logic and removing unused pieces. It should make the feature easier to maintain without changing how users interact with live chat.
Original PR description
Comments applied from the previous PR. 1. Reduce duplicate code in im_livechat; 2. Remove unused code in im_livechat; follow up of https://github.com/odoo/enterprise/pull/89573 Forward-Port-Of: odoo/enterprise#89648
The website sale test suite was updated as part of an internal modernization of comparison and wishlist behavior. This helps keep these shop features aligned with newer frontend technology while preserving expected customer journeys.
Original PR description
task-4873403 Community PR: https://github.com/odoo/odoo/pull/214349 Upgrade PR: https://github.com/odoo/upgrade/pull/7975
This update simplifies how some Odoo web requests access system context behind the scenes. It helps keep the platform codebase cleaner and easier to maintain, with no expected change to day-to-day user workflows.
Original PR description
odoo/odoo#217761