odoo/o-spreadsheet#6152

Created by fw-bot
Merged at 0132615e0773967aa6f5d23b35e3c839c44b2c06

Statuses:

label
odoo:master-16.0-fix-autocomplete-mera-430568-fw
head
d928a1e129124f36d7dc90dc8c74afdcb6c29e58
merged
9 months ago by Mehdi Rachico (mera)
odoo/o-spreadsheet
16.0 #5987
17.0 #6134
saas-17.4 #6148
18.0 #6149
saas-18.1 #6150
saas-18.2 #6151
saas-18.3
saas-18.4
19.0
saas-19.1
master #6152

[FW][FIX] composer: prevent autocomplete on unknown characters in composer

Before this commit, the composer incorrectly triggered autocomplete suggestions even when unknown or special characters (e.g., "é") were typed. This led to irrelevant suggestions and formula errors when selecting an option.

This commit ensures that unknown characters are properly considered, preventing autocomplete from being triggered in such cases, improving the reliability of the function autocomplete.

Task: 4652661

review checklist

  • [ ] feature is organized in plugin, or UI components
  • [ ] support of duplicate sheet (deep copy)
  • [ ] in model/core: ranges are Range object, and can be adapted (adaptRanges)
  • [ ] in model/UI: ranges are strings (to show the user)
  • [ ] undo-able commands (uses this.history.update)
  • [ ] multiuser-able commands (has inverse commands and transformations where needed)
  • [ ] new/updated/removed commands are documented
  • [ ] exportable in excel
  • [ ] translations (_t("qmsdf %s", abc))
  • [ ] unit tested
  • [ ] clean commented code
  • [ ] track breaking changes
  • [ ] doc is rebuild (npm run doc)
  • [ ] status is correct in Odoo

Forward-Port-Of: #6148
Forward-Port-Of: #5987