odoo/o-spreadsheet#4190
Created by fw-bot
Merged
at ae31d6534828f94eac2a7a179376e8a281242125
Statuses:
- label
- odoo:16.0-15.0-cut-clipboard-wrong-invalidate-adrm-Q06O-fw
- head
- 2fc78910133ae4464a1e1ca31ef9f311ebe0d839
- merged
- 2 years ago by BI, Adrien Minne (adrm)
| odoo/o-spreadsheet | |
|---|---|
| saas-16.3 | #4232 |
| 15.0 | #4158 |
| saas-16.4 | #4233 |
| 16.0 | #4190 |
| 17.0 | #4234 |
| saas-17.1 | #4235 |
| 18.0 | |
| saas-17.2 | #4236 |
| saas-18.2 | |
| saas-18.3 | |
| saas-18.4 | |
| 19.0 | |
| saas-19.1 | |
| master | #4237 |
[FW][FIX] clipboard: wrong clipboard invalidation
Description
The CUT clipboard should be invalidated when inserting rows inside of the CUT zone.
But we didn't check the sheet where the rows are
inserted, so the clipboard was invalidating when inserting rows inside another sheet.
Task: : 3901961
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: #4158