Tuesday, April 15, 2025
10 changes · master
Enhancements to existing features
The Knowledge app was adjusted to stay compatible with a related platform data-format change. This keeps article comments working correctly after the underlying update, with no expected change to the user experience.
Original PR description
https://github.com/odoo/odoo/pull/202400
The Documents app now includes multi-company access information in the initial session data. This avoids an extra startup request, helping the app load a little faster for users in multi-company environments.
Original PR description
Since the Document app use the `base.group_multi_company` at startup[1], it's made sense to the session_info bundle to avoid an RPC at webclient startup. [1]: https://github.com/odoo/enterprise/blob/b78e36b16a6b4b157c227d8b222b544f94cb9016/documents/static/src/core/document_service.js#L81
Features or functions removed from Odoo
This change removes custom test patches that disabled onboarding tours in individual areas. Since onboarding tours are now disabled globally during automated tour tests, test behavior is more consistent and easier to maintain.
Original PR description
Onboarding tours are now disabled globally during test tours. Ad-hoc patches should not be necessary.
Code cleanup and technical improvements
This update cleans up internal dependency imports and outdated fallback logic across reporting and payroll areas. It reduces maintenance overhead and helps keep the codebase aligned with current requirements without changing business features.
Miscellaneous changes
Bug === 1. Create a folder, and change 'access_internal = view' (so Demo can view it, but not edit it) 2. Login as Demo 3. Create a shortcut to that folder 4. Click on the shortcut in the sidebar 5. You can upload in the shortcut even if you have no access on the target Now, the "Upload", "Request", etc buttons will be disabled if the user has no edit access on the target. Task-4626766 Forward-Port-Of: odoo/enterprise#80782
Original PR description
Bug === 1. Create a folder, and change 'access_internal = view' (so Demo can view it, but not edit it) 2. Login as Demo 3. Create a shortcut to that folder 4. Click on the shortcut in the sidebar 5. You can upload in the shortcut even if you have no access on the target Now, the "Upload", "Request", etc buttons will be disabled if the user has no edit access on the target. Task-4626766 Forward-Port-Of: odoo/enterprise#80782
Original PR description
These dependencies are already required / in requirements.
Before this commit, two access rights records had the same id in the ir.model.access.csv file. This caused issues when trying to upgrade a db from previous versions. As the two records had the same rights, we remove the one linked to the manager group. Forward-Port-Of: odoo/enterprise#82514
Original PR description
Before this commit, two access rights records had the same id in the ir.model.access.csv file. This caused issues when trying to upgrade a db from previous versions. As the two records had the same rights, we remove the one linked to the manager group. Forward-Port-Of: odoo/enterprise#82514
After https://github.com/odoo/odoo/pull/144586, the modules other than base localization module should not have the countries key defined in their manifest. The issue happens because countries key works similar to auto-install and it can lead to unwanted installation of the module. As there was no check implemented, for some modules this key was used accidentally and caused issues with auto-install. This commit removes this field from the manifest of the modules that could have this pro
Original PR description
After https://github.com/odoo/odoo/pull/144586, the modules other than base localization module should not have the countries key defined in their manifest. The issue happens because countries key works similar to auto-install and it can lead to unwanted installation of the module. As there was no check implemented, for some modules this key was used accidentally and caused issues with auto-install. This commit removes this field from the manifest of the modules that could have this problem to avoid the issue. Also in https://github.com/odoo/odoo/pull/201526 a linting test is proposed to avoid having the same issue in the future. Runbot Errors: https://runbot.odoo.com/odoo/error/159875 https://runbot.odoo.com/odoo/error/159877 Forward-Port-Of: odoo/enterprise#81178
If you have multiple taxes on a sale order or invoice, then the total tax amount is displayed with the name of the first tax group. Rename it to show a generic "Taxes" group. This was done before for sale orders but was lost in d5da2b62263f85fbce0f2548085c066cbbf10371. opw-4673667 Forward-Port-Of: odoo/enterprise#83394 Forward-Port-Of: odoo/enterprise#83078
Original PR description
If you have multiple taxes on a sale order or invoice, then the total tax amount is displayed with the name of the first tax group. Rename it to show a generic "Taxes" group. This was done before for sale orders but was lost in d5da2b62263f85fbce0f2548085c066cbbf10371. opw-4673667 Forward-Port-Of: odoo/enterprise#83394 Forward-Port-Of: odoo/enterprise#83078
**Steps to reproduce** On runbot: 1. Activate the website form for the "IT Support (Auto Assignment by Tags)" team. 2. Add the "Tags" field to the form, allowing visitors to select tags for a ticket. 3. Submit a ticket with the "Repair" tag selected. Actual: the ticket is not auto-assigned. Expected: Mitchell Admin is auto-assigned, the same way as if the ticket was created from the backend. **Cause** When using the website form, a `SET` command is used to set the tags, while we ar
Original PR description
**Steps to reproduce** On runbot: 1. Activate the website form for the "IT Support (Auto Assignment by Tags)" team. 2. Add the "Tags" field to the form, allowing visitors to select tags for a ticket. 3. Submit a ticket with the "Repair" tag selected. Actual: the ticket is not auto-assigned. Expected: Mitchell Admin is auto-assigned, the same way as if the ticket was created from the backend. **Cause** When using the website form, a `SET` command is used to set the tags, while we are currently only expecting a `LINK` command. opw-4646654 Forward-Port-Of: odoo/enterprise#82345
At the moment, if a cancellation has been requested, the 'Update SAT' button isn't always visible on the invoice. Analysis: The condition for the 'Update SAT' button being visible is that at least one of the EDI documents falls under one of the domains in `_get_update_sat_status_domains`. In particular, the 'Update SAT' status is visible if there is an EDI document with the 'invoice_sent' status and whose SAT status is not 'cancelled' or 'skip'. If the user requests the cancellation of th
Original PR description
At the moment, if a cancellation has been requested, the 'Update SAT' button isn't always visible on the invoice. Analysis: The condition for the 'Update SAT' button being visible is that at least…
At the moment, if a cancellation has been requested, the 'Update SAT' button isn't always visible on the invoice. Analysis: The condition for the 'Update SAT' button being visible is that at least one of the EDI documents falls under one of the domains in `_get_update_sat_status_domains`. In particular, the 'Update SAT' status is visible if there is an EDI document with the 'invoice_sent' status and whose SAT status is not 'cancelled' or 'skip'. If the user requests the cancellation of the CFDI before the SAT status is fetched for the first EDI document (which represents the sending of the invoice), its SAT status will be set to 'skip'. As a result, the 'Update SAT' button will no longer be visible, meaning that the user can not update the invoice's state from fetching the SAT status.  Fix: The Update SAT button should also be visible if there is a document in 'invoice_cancel_requested' whose SAT state is valid. opw-4375788 Forward-Port-Of: odoo/enterprise#83289