odoo/o-spreadsheet#6817

Created by BI, Adrien Minne (adrm)
Merged at e951963636f9ad205438313402624adee6f240fd

Statuses:

label
odoo:18.0-fix-chart-export-aggregate-adrm
head
add7d1bef290477b2b7e941751a9741e4a5bffad
merged
1 day ago by BI, Rémi Rahir (rar)
odoo/o-spreadsheet
18.0 #6817
saas-18.1 #6959 missing statuses missing r+
saas-18.2
saas-18.3
saas-18.4
master

[FIX] xlsx: correctly export aggregated charts

Description

Follow up of #6075, for charts combo/scatter charts.

The feature to aggregate the chart data based on the labels does not exist in xlsx files. But rather than exporting the chart as normal, ignoring the aggregation, we exported the chart as an image.

Task: 4954426

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