Daily updates from Odoo
Tuesday, January 6, 2026
7 changes
Code cleanup and technical improvements
This update standardizes the codebase by replacing outdated references to `odoo.tools._` with the more modern `env._` method within various accounting modules. This change improves code consistency and maintainability across the Odoo accounting system, ensuring a smoother development experience.
Original PR description
`*` includes all the modules related to accounting, including l10n modules PURPOSE - The purpose of this pr is to replace the usage of `odoo.tools._` method with `env._` method from the Environment class in accounting-related module. Related PR: https://github.com/odoo/enterprise/pull/102688 PRs for remaining modules - COM: https://github.com/odoo/odoo/pull/241594 - ENT: https://github.com/odoo/enterprise/pull/103020 Task-5431538
This update standardizes how the accounting modules access core system functions. Previously, the modules relied on a less efficient internal library. This change improves code consistency and maintainability across the entire accounting suite, ensuring smoother future updates and integrations. It impacts several key accounting features.
Original PR description
`*` includes all the modules related to accounting, including l10n modules PURPOSE - The purpose of this pr is to replace the usage of `odoo.tools._` method with `env._` method from the Environment class in account related module. Related PR: https://github.com/odoo/odoo/pull/240704 PRs for remaining modules - COM: https://github.com/odoo/odoo/pull/241594 - ENT: https://github.com/odoo/enterprise/pull/103020 Task-5431538
This update standardizes the use of `env._` instead of `odoo.tools._` throughout the codebase. This improves code consistency and simplifies access to environment-specific data, leading to more maintainable and efficient development. It impacts a wide range of Odoo modules.
Original PR description
`*` includes all the remaining modules other than accounting PURPOSE - The purpose of this pr is to replace the usage of `odoo.tools._` method with `env._` method from the Environment class in every module. Related PR: https://github.com/odoo/enterprise/pull/103020 PRs for accounting modules - COM: https://github.com/odoo/odoo/pull/240704 - ENT: https://github.com/odoo/enterprise/pull/102688 Task-5431538
This update standardizes the use of `env._` instead of `odoo.tools._` throughout various Odoo modules, improving code consistency and simplifying access to environment-specific data. This change enhances maintainability and reduces potential errors related to outdated dependencies. It impacts numerous modules including sales, accounting, and customer support.
Original PR description
`*` includes all the remaining modules other than accounting PURPOSE - The purpose of this pr is to replace the usage of `odoo.tools._` method with `env._` method from the Environment class in every module. Related PR: https://github.com/odoo/odoo/pull/241594 PRs for accounting modules - COM: https://github.com/odoo/odoo/pull/240704 - ENT: https://github.com/odoo/enterprise/pull/102688 Task-5431538
This update simplifies the user interface for key dialogs within the iot_drivers module, making them more intuitive and focused. The update process has been streamlined to only display weekly update information and provide a direct update button, improving user experience. Documentation links have also been added to all relevant dialogs.
Original PR description
- Replace the `header` slot in dialogs by a standard `name` + `(optional) help`, - Remove the use of `identifier` props and compute it from provided `name`, - simplify the update dialog to only inform about the weekly update and show an update button, - add documentation link on all concerned modals.
This update enhances the debugging process for Odoo tours by introducing specific 'debug only' keys – pause, break, and observe – within the tour creation environment. These tools allow developers to more effectively troubleshoot tour behavior during development, particularly when encountering unexpected issues. The previous, unused indeterminism detection function has been removed to streamline the debugging process.
Original PR description
With this commit, we allow few keys (pause, break, observe) for a step only in debug mode. - pause: pause the step with a promised infinite timeout to be resolved by hand with play() in console - break: set a break point at the start of step - observe: an helper to debug a step if a undeterminism is suspected in a step. This helper watch for mutations or modifications of the trigger. 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
This update refactors how group memberships are handled within email channels in Odoo. By moving group IDs to the channel model, we've streamlined the process of managing email communications and ensuring more accurate targeting of recipients. This change enhances the overall efficiency and reliability of our email workflows.