[FIX] mail: keep the new mention search on a late answer
Steps to reproduce:
- In a chatter, type "@xxx" (no partner matches) and wait for the
search to be sent
- Before its answer comes back, replace it with "@Georges"
Georges is not suggested (unless the client already holds that partner),
and typing more letters does not search again until characters are
deleted.
The answer of a mention search is applied to the search that is current
when it arrives. When the user changed the search meanwhile, the empty
answer of "xxx" is recorded as the answer of "Georges", and the search
is cleared because that answer has no result. The fetch scheduled for
"Georges" then has nothing to search, and the next letters are taken as
narrowing a search already known to have no result.
This commit records the answer for the search that was fetched, and
clears the search only when it is still the one that was fetched.
The tour of project's test_05_project_sharing_chatter_mention_users
fails this way on a loaded machine: it waits exactly the 250ms debounce
between "@xxx" and "@Georges", so the answer of "xxx" can land after
"@Georges" is typed.
(cherry picked from commit c2b3f1631f1bf5cde4f2075dd774957a86a97049)
| Subbuilds | Name | State | Detail |
|---|---|---|---|
| Build 434454 | At install tests: from account to website_timesheet 98m | Succeed | Log |
| Build 434455 | Post install tests: step install all modules 18m | Succeed | Log |
| Build 434456 | Post install tests: from account to l10n_vn_viin_account_reports 359m | Succeed | Log |
| Build 434457 | Post install tests: from l10n_vn_viin_account_reports_asset to sale_edi_ubl 304m | Succeed | Log |
| Build 434458 | Post install tests: from sale_expense to to_sshkey 284m | Succeed | Log |
| Build 434459 | Post install tests: from to_stock_asset to viin_freight_sale_onbehalf 279m | Succeed | Log |
| Build 434460 | Post install tests: from viin_freight_sale_purchase to website_timesheet 274m | Succeed | Log |
| Create Date | Level | Message |
|---|---|---|
| 11/10/2026 09:16:00 AM | INFO |
Updated repository Viindoo-tvtmaaddons
|
| 11/10/2026 09:16:00 AM | INFO |
Updated repository Viindoo-erponline-enterprise
|
| 11/10/2026 09:16:00 AM | INFO |
Updated repository Viindoo-branding
|
| 11/10/2026 09:16:00 AM | INFO |
Cloned repository Viindoo-odoo
|
| 11/10/2026 09:16:00 AM | INFO |
Post install tests: 5 parallel builds balanced by the test time measured on 19.0, the longest about 333 minutes of tests
|