odoo/o-spreadsheet#7166
Created by BI, Lucas Lefèvre (lul)
Merged
at 99d115b00a8461cb0d164cdfb91ea6def0b33474
Statuses:
- label
- odoo:19.0-prettified-cursor-lul
- head
- d534336e4e19e9b3530152d75903b23e262c32a3
- merged
- 4 days ago by BI, Rémi Rahir (rar)
odoo/o-spreadsheet | |
---|---|
19.0 | #7166 |
master | #7285 |
[FIX] composer: set cursor on prettified formula
Steps to reproduce:
- type a long formula, e.g. =SUM(11111111, 22222222, 33333333, 44444444, 55555555, 66666666, 77777777, 88888888)
- in the top bar composer, click somewhere that won't be on the first line when prettified (in the fours)
=> the cursor is badly positioned on the prettified formula
Description:
description of this task, what is implemented and why it is implemented that way.
Task: TASK_ID
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