odoo/o-spreadsheet#7475
Created by fw-bot
Merged
at e3c5deac2df7da6922be2d7cb3f33236857b787a
Statuses:
- label
- odoo:18.0-17.0-fix-composer-range-selection-rmbh-474879-fw
- head
- 4eeb3a58a8bfe3527bc0fa14aa5b3fd9853b5905
- merged
- 1 week ago by Ronakkumar Mukeshbhai Bharadiya (rmbh)
| odoo/o-spreadsheet | |
|---|---|
| 17.0 | #7400 |
| 18.0 | #7475 |
| saas-18.2 | #7483 |
| saas-18.3 | #7484 |
| saas-18.4 | #7485 |
| 19.0 | #7486 |
| master | #7487 |
[FIX] composer: change mode to editing when composer cursor selection changes
Description:
Current behavior before PR:
- When typing =sum( and pressing the Home key, selecting a range caused weird
behavior in the composer.
- The same issue occurred when using Ctrl+A to select the entire text.
Desired behavior after PR is merged:
- Changing the cursor selection now correctly switches the mode to 'editing'.
Task: 5226615
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: #7400