Daily updates from Odoo
Friday, June 26, 2026
3 changes · 17.0
Enhancements to existing features
This change lets operators adjust how quickly unused database connections are closed in Odoo. It helps reduce memory use in environments with limited resources by allowing idle connections to be cleared more aggressively when needed.
Original PR description
In memory-scarce environments, the default 10-minute idle timeout may keep too many backend connections alive. Allow operators to override it via the ODOO_DB_MAX_IDLE_TIMEOUT environment variable to evict idle connections more aggressively. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Resolved issues and error corrections
This update prevents a failure when installing the Repair app in certain database setups. It ensures the module can be installed cleanly without depending on data that may not be available during automated setup, improving reliability for runbot and test environments.
Original PR description
Runbot builds on version 17.0 and 18.0 fail due to the lines below. These lines reference `move.sale_line_id` as the previous dependencies did not add `sale_line_id` to the `stock.move` model when using --skip-auto-install. https://github.com/odoo/odoo/blob/51824f462402d3d141bda2717402d1fdcf2e118b/addons/repair/models/stock_move.py#L97-L100 To reproduced the issue: 1. New blank database 2. ./odoo-bin -d [database-name] -i repair --skip-auto-install 3. See error in console Looking ahead to verison 18.1+ we see the dependencies change here: https://github.com/odoo/odoo/commit/f7dbdec11b74f8c7d969763d8c5cf09542a47f86 **Affects 17.0 and 18.0** Ticket [link](https://www.odoo.com/odoo/project/27948/tasks/6306099) This can also close this very, very old PR https://github.com/odoo/odoo/pull/189584
This change fixes an issue where creating a repair order could fail if the Sales Stock module had been removed after installing Repairs. By declaring the missing dependency explicitly, the Repair app now keeps the required functionality available and avoids unexpected errors for users.
Original PR description
Before this commit: =============== When we install repair and then manually uninstall the `sale_stock` and creating a repair order will throw trackback. Steps to produce: ============== 1. Install the repair module 2. uninstall the sale_stock module (it is not a direct dependency module it is a transitive dependency module) 3. Then try to create a new repair order with a product we get the following traceback After this commit: ============== Add `sale_stock` in dependency of repair instead of only stock Reference feedback task : https://www.odoo.com/odoo/project.task/4378246 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr