odoo/o-spreadsheet#7382

Created by BI, Dhrutik Patel (dhrp)

Blocked

label
odoo:saas-18.4-fix-composer-enter-tab-assistant-closed-dhrp
head
1fcabef27595a728efd747994ccc804e3524ba7d
odoo/o-spreadsheet
saas-18.4 #7382 missing r+
19.0
master

[FIX] composer: Enter/Tab confirm when assistant is force-closed

Description:

When the formula assistant was force-closed, Enter/Tab were swallowed and no action occurred. Users could not confirm edits (including plain text).

Composer now tells the store when the assistant is force-closed. Enter/Tab confirm the edit if the assistant is open; otherwise, they stop the edition.

Task: 5153666

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