odoo/o-spreadsheet#7442
Created by fw-bot
Merged
at f3ddc9d59ad664042ad0b090067a13ccbdd699ef
Statuses:
- label
- odoo:19.0-saas-18.2-fix-composer-unmount-inactive-rmbh-476224-fw
- head
- 1e01c78785481319a4c45f54c8abb95669d7bc4a
- merged
- 2 months ago by BI, Lucas Lefèvre (lul)
| odoo/o-spreadsheet | |
|---|---|
| saas-18.2 | #7289 |
| saas-18.3 | #7440 |
| saas-18.4 | #7441 |
| 19.0 | #7442 |
| saas-19.1 | |
| master | #7443 |
[FIX] composer: set editionMode to inactive when composer is unmounted
Description:
Steps to reproduce:
- Open the CF side panel and edit a StandaloneComposer inside a color scale.
- Switch the sheet. The panel closes, so the composer is unmounted.
- Previously, the composer remained in editing mode after unmount.
Current behavior before PR:
- Unmounting the composer did not set editionMode to inactive.
- This caused focus issues in other parts of the UI.
Desired behavior after PR is merged:
- Unmounting the composer sets editionMode to inactive.
- Focus and selection are now properly released.
Task: 5149215
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: #7289