odoo/o-spreadsheet#2458

Created by Jaimin Shah (jash)
Closed
label
odoo:16.0-fix-composer-formula-assistance-jash
head
ce7bf4be8a3fa8f7dd9c2ce3eab1732082a43440
odoo/o-spreadsheet
16.0 #2458

[FIX] composer: autocomplete in topbar composer

Description:

Previously, when we write a formula and tried to autocomplete it by pressing tab or enter, it wouldn't update topbar composer. To fix this, we update a onKeydown to manage the enter and tab buttons.

Odoo task ID : 3291781

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 (_lt("qmsdf %s", abc))
  • [ ] unit tested
  • [ ] clean commented code
  • [ ] track breaking changes
  • [ ] doc is rebuild (npm run doc)
  • [ ] status is correct in Odoo