Sunday, August 3, 2025
4 changes · saas-18.3
Resolved issues and error corrections
The mail activity counter in the top navigation now updates when activities are changed, not only when they are created, deleted, or reassigned. This keeps users' activity counts accurate after actions like archiving activities or changing due dates, including bulk updates.
Original PR description
Currently the systray counter is only updated at: - create - unlink - write, but only if the user changes We want to detect changes such as activities being archived or due dates being updated to properly reflect the changes as the user applies them. We now do a separate check for activity count per user before and after a write call that modifies these fields. Additionally since we now have a count we provide that as part of the bus notification so that it can be updated accurately when modifying/creation/deleting activities in batch. Common activity test utils are updated to avoid false negatives. task-4862215 Forward-Port-Of: odoo/odoo#220523 Forward-Port-Of: odoo/odoo#215880
This update prevents activity lists from applying an archive-related filter to records that do not support archiving. It helps avoid errors or missing activity information in areas such as Calendar, Mail, SMS Marketing, and Project To-Do while keeping archived activities hidden where appropriate.
Original PR description
In this forward-port [1]
`active_test=False` is replaced with `[('active', 'in', [True, False])]`
to prevent "active_test" from applying on the activities, which should
not be displayed when archived by default.
The change cannot be applied generically because not all activity mixin
models have an "active" field.
Instead the groups can define their domain depending on their individual
fields. "group domains" are conveniently already supported for use cases
like "fake" groups for todo tasks and the likes.
[1]: https://github.com/odoo/odoo/commit/1cd920a2c7ed251d5e74a890f7183a7620bc06a3The HR Skills test tour now includes the missing step to open the Resume tab. This prevents a test failure in setups without demo data and helps keep payroll-related installations stable.
Original PR description
step to reproduce: 1. install l10n_ch_hr_payroll_account 2. without demo 3. run test SkillsTestUI.test_ui added missing step is to go to resume tab in the tour build_error_181683 Forward-Port-Of: odoo/odoo#221364 Forward-Port-Of: odoo/odoo#214578
The update aligns an internal performance test with a recent change in how overdue activity counts are calculated and shared. This helps keep automated checks accurate and prevents false test failures without changing user-facing behavior.
Original PR description
In [1] we now send the differential in activity count for relevant users when late activities are added or removed for them. This leads to an additional query to read the original count. [1]: odoo/odoo@bc0e1275be40faa919f1b0f70a14e5190c18bd6b