Thursday, November 27, 2025
4 changes · master
Features or functions removed from Odoo
An old stock delivery lookup method has been removed now that a newer, faster version is used in the current release. This keeps the stock codebase cleaner without changing normal business workflows.
Original PR description
This PR: #233478, introduced a new method `_find_delivery_ids_by_lot_iterative` as a performance optimization. The old method was not removed in stable to avoid breaking customizations, however, it's not needed anymore in current master (19.1).
This change removes an older internal method for finding deliveries by lot and keeps the newer iterative approach. It reduces duplicate code in stock-related processes, helping maintain reliability without changing normal user workflows.
Original PR description
### Description: Following the commit 809b0844a7c223707c54c0a30c5ef1d9c3c0faa6, the previous version of the function `_find_delivery_ids_by_lot` is removed to only keep the iterative one. ### Reference: opw-5096599
This update simplifies our testing process by removing outdated nightly tags used to avoid external API calls. Now that mock servers are the standard for carrier simulations, these tags are no longer needed. This change improves test efficiency and reduces potential dependencies on external services.
Original PR description
The purpose of nightly tags was to avoid calling external API during every test. But now mostly mock servers are used to simulate the carrier response. For those tests, we should run them in standard test mode. Also removed useless tags and added data (instead of using demo data). Task: 4613407
This update corrects a minor issue where the stock barcode module was applying a double weight calculation, leading to inaccurate inventory tracking. The change removes this redundant assignment, ensuring more precise stock levels. This fix improves the reliability of barcode scanning data within the Odoo Enterprise system.
Original PR description
Added accidentally here odoo/odoo#77183.