odoo/o-spreadsheet#6961

Created by fw-bot
Merged at 0d2a01e6cb3e2b6a115072252aef47dd68cec4d3

Statuses:

label
odoo:saas-18.3-saas-18.1-fix-chart-export-aggregate-adrm-457560-fw
head
074b0947085e90fd37188d8434939957202e2b8d
merged
6 months ago by BI, Rémi Rahir (rar)
odoo/o-spreadsheet
saas-18.1 #6818
saas-18.2 #6958
saas-18.3 #6961
saas-18.4 #6962
19.0
saas-19.1
saas-19.2
master #6964

[FIX] xlsx: correctly export aggregated charts

Description

Follow up of #6075, for charts radar 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

Forward-Port-Of: #6818