odoo/o-spreadsheet#6149

Created by fw-bot
Merged at b68da99ad1423c802f7bfc404eac21c94d924095

Statuses:

label
odoo:18.0-16.0-fix-autocomplete-mera-430546-fw
head
8a79e8ff30581a2442ba8b545fca5bf67b23f29d
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