Daily updates from Odoo
Thursday, May 7, 2026
5 changes
4 changes
Code cleanup and technical improvements
This update improves the speed of Odoo's automated tests by optimizing how test environments are set up. Specifically, a change was made to the setup process, leading to faster test execution times. This results in quicker feedback during development and a more efficient testing cycle.
Original PR description
Enterprise counter-part. https://github.com/odoo/odoo/pull/252626
This update refactors how access tokens are used within the Enterprise documents module, enhancing its flexibility and reusability across other Odoo controllers. This change improves the overall architecture and makes it easier to integrate documents with other features within the system. It's a routine maintenance update focused on code quality.
Original PR description
This improves extensibility and reuse in other controllers. Task-6196107
This update prepares Odoo for OWL3 by adding `.this` to template variables that reference component data. This change is necessary to ensure proper functionality with the new OWL3 rendering engine. Manual adjustments were also made to specific modules to accommodate this update.
Original PR description
[REF] *: run rendering context migration script on inline xml In preparation for OWL3, where template variables will need to use `.this` to target component variables, we add `.this` to template variables that are targetting the component. Script PR: #247965 If this script did an incorrect change, add variable to whitelist (see script PR) or send msg to JESC. task: OWL3 prep - add this. to template variables Community PR: odoo/odoo#262992
This update streamlines testing for Odoo's document management features by consolidating tests across different bridges and modules. It also improves how company settings are handled when documents are moved, and avoids unnecessary edits within test code, ensuring more reliable and organized testing.
Original PR description
Additionally, improving check_company use on res.config.settings in bridges. As the documents mixins are not used in `documents`, we've previously been adding tests about them across bridges as usage arose. This was impractical because these tests are spread, need to be moved when the mixin use changes in that bridge, etc. Note on test changes: The most 'generic' tests are moved out of each bridge while the specific logic ones are left in place and a variant is added to `test_documents_full`. Task-4855358
1 change
Code cleanup and technical improvements
This update ensures the o_spreadsheet library used in our spreadsheet functionality is running the latest version. This improves stability and performance, and addresses minor code improvements for better maintainability. It's a routine maintenance update.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/79ef1d87e8 [REF] lint: enforce braces for all control statements [Task: 6140827](https://www.odoo.com/odoo/2328/tasks/6140827) Co-authored-by: Florian Damhaut (flda) <flda@odoo.com> Co-authored-by: Anthony Hendrickx (anhe) <anhe@odoo.com> Co-authored-by: Alexis Lacroix (laa) <laa@odoo.com> Co-authored-by: Lucas Lefèvre (lul) <lul@odoo.com> Co-authored-by: Adrien Minne (adrm) <adrm@odoo.com> Co-authored-by: Ronak Mukeshbhai Bharadiya (rmbh) <rmbh@odoo.com> Co-authored-by: Dhrutik Patel (dhrp) <dhrp@odoo.com> Co-authored-by: Rémi Rahir (rar) <rar@odoo.com> Co-authored-by: Pierre Rousseau (pro) <pro@odoo.com> Co-authored-by: Vincent Schippefilt (vsc) <vsc@odoo.com> Co-authored-by: Marceline Thomas (matho) <matho@odoo.com>