odoo/o-spreadsheet#3930

Created by BI, Rémi Rahir (rar)
label
odoo:saas-17.2-fix-split-text-panel-rar
head
3c9aef35d919257a1667190c193dafe9198a04cb
target
saas-17.2
merged
1 month ago by BI, Lucas Lefèvre (lul)
forward-ports

[FIX] SplitIntoColumnsPanel: Panel closes instantly

There was a mistake in the code adaptation when we introduced the stores.

How to reproduce:
- Open a spreadsheet
- Open "Topbar menu > Split text to columns" -> The sidepanel opens and closes instantly

Task: 3829192

## Description:

description of this task, what is implemented and why it is implemented that way.

Task: : [TASK_ID](https://www.odoo.com/web#id=TASK_ID&action=333&active_id=2328&model=project.task&view_type=form&cids=1&menu_id=4720)

## 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