odoo/o-spreadsheet#7283
Created by BI, Adrien Minne (adrm)
Merged
at cb66cfd1459a8621d257254966bffc6ac0cb87cc
Statuses:
- label
- odoo:19.0-fix-duplicate-chart-id-adrm
- head
- 3755eda6f7fc2de66918e41c3993e5c4a5f0e3e6
- merged
- 1 day ago by BI, Pierre Rousseau (pro)
odoo/o-spreadsheet | |
---|---|
19.0 | #7283 |
master | #7356 |
[FIX] model: ensure chart ID unicity
Description
We have a function forceUnicityOfFigure
that repair the spreadsheet data at import to force the figure ID unicity. But since the introduction of carousels, we also need to ensure the chart ID unicity (after the migration, chart ID and figure ID are the same).
Task: 5153264
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