Daily updates from Odoo
Monday, October 27, 2025
7 changes
2 changes
Code cleanup and technical improvements
This update simplifies automated test files by removing unnecessary wrapper labels that duplicated file names or could be misleading. It does not change business features, but makes the test suite easier for developers to read and maintain, supporting safer future updates.
Original PR description
This commit removes test files using a single 'describe' call to wrap its tests, with a name being either redundant with the test file itself or is too misleading.
Regular expression used to find isolated suites:
```js
/^\s*import.*(?:\n(?!describe\()(?!test\().*)+\ndescribe\("[\w\s.]+",.*(?:\n(?!describe\().*)+\n\}\);\n(?!\n)/
```
Tip for reviewers: tick **"Hide whitespace"** when reviewing diff
<img width="237" height="205" alt="image" src="https://github.com/user-attachments/assets/373f7cc6-5e0e-4599-968a-39aad8fac2f0" />
Enterprise: https://github.com/odoo/enterprise/pull/98046
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Forward-Port-Of: odoo/odoo#233155
Forward-Port-Of: odoo/odoo#233006This update simplifies several automated test files by removing unnecessary grouping labels that duplicated or confused the file names. It does not change product behavior, but it makes the test suite easier for developers to review and maintain across affected business areas.
Original PR description
This commit removes test files using a single 'describe' call to wrap its tests, with a name being either redundant with the test file itself or is too misleading.
Regular expression used to find isolated suites:
```js
/^\s*import.*(?:\n(?!describe\()(?!test\().*)+\ndescribe\("[\w\s.]+",.*(?:\n(?!describe\().*)+\n\}\);\n(?!\n)/
```
Tip for reviewers: tick **"Hide whitespace"** when reviewing diff
<img width="237" height="205" alt="image" src="https://github.com/user-attachments/assets/373f7cc6-5e0e-4599-968a-39aad8fac2f0" />
Community: https://github.com/odoo/odoo/pull/233006
Forward-Port-Of: odoo/enterprise#98137
Forward-Port-Of: odoo/enterprise#980461 change
Code cleanup and technical improvements
This update simplifies internal test files by removing unnecessary wrapper labels that duplicated file names or caused confusion. It does not change product behavior, but it makes tests easier for developers to read and maintain, supporting future reliability.
Original PR description
This commit removes test files using a single 'describe' call to wrap its tests, with a name being either redundant with the test file itself or is too misleading.
Regular expression used to find isolated suites:
```js
/^\s*import.*(?:\n(?!describe\()(?!test\().*)+\ndescribe\("[\w\s.]+",.*(?:\n(?!describe\().*)+\n\}\);\n(?!\n)/
```
Tip for reviewers: tick **"Hide whitespace"** when reviewing diff
<img width="237" height="205" alt="image" src="https://github.com/user-attachments/assets/373f7cc6-5e0e-4599-968a-39aad8fac2f0" />
Community: https://github.com/odoo/odoo/pull/233006
Forward-Port-Of: odoo/enterprise#980462 changes
Code cleanup and technical improvements
The WhatsApp integration now uses a standard internal process to update chat participant data. This is a behind-the-scenes cleanup that should make the messaging code easier to maintain without changing the user experience.
Original PR description
community PR: https://github.com/odoo/odoo/pull/232615 This commit refactors the `discuss.channel.member/fetched` bus notification to be a `mail.record/insert` as there is no other logic than inserting channel member data in the store. task-5177252
This change moves Odoo's internal test add-ons into a dedicated tests subdirectory. It does not change business features, but it makes the codebase easier to maintain and helps development teams manage testing assets more clearly.
Original PR description
Same as community but a different variant as all addons live at the toplevel of the repo: test addons are moved to a subdirectory.
2 changes
Code cleanup and technical improvements
This update simplifies automated test files by removing unnecessary grouping labels that repeated the file name or could be misleading. It does not change product behavior, but makes tests easier for developers to read and maintain.
Original PR description
This commit removes test files using a single 'describe' call to wrap its tests, with a name being either redundant with the test file itself or is too misleading.
Regular expression used to find isolated suites:
```js
/^\s*import.*(?:\n(?!describe\()(?!test\().*)+\ndescribe\("[\w\s.]+",.*(?:\n(?!describe\().*)+\n\}\);\n(?!\n)/
```
Tip for reviewers: tick **"Hide whitespace"** when reviewing diff
<img width="237" height="205" alt="image" src="https://github.com/user-attachments/assets/373f7cc6-5e0e-4599-968a-39aad8fac2f0" />
Enterprise: https://github.com/odoo/enterprise/pull/98046
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThis update simplifies several automated test files by removing redundant grouping labels that did not add useful information. It does not change product behavior, but it makes the test suite easier for developers to read and maintain.
Original PR description
This commit removes test files using a single 'describe' call to wrap its tests, with a name being either redundant with the test file itself or is too misleading.
Regular expression used to find isolated suites:
```js
/^\s*import.*(?:\n(?!describe\()(?!test\().*)+\ndescribe\("[\w\s.]+",.*(?:\n(?!describe\().*)+\n\}\);\n(?!\n)/
```
Tip for reviewers: tick **"Hide whitespace"** when reviewing diff
<img width="237" height="205" alt="image" src="https://github.com/user-attachments/assets/373f7cc6-5e0e-4599-968a-39aad8fac2f0" />
Community: https://github.com/odoo/odoo/pull/233006