odoo/o-spreadsheet#7356

Created by fw-bot
Merged at 6c8600414db4847c16be99fe3bf9a54f06cf0709

Statuses:

label
odoo:master-19.0-fix-duplicate-chart-id-adrm-468803-fw
head
d4464edb320d52486d26a16f87061fd59aebab50
merged
2 days 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

Forward-Port-Of: #7283