odoo/o-spreadsheet#6238

Created by fw-bot
Merged at 2ed572676d003be9b3b13a672948656deb5483d3

Statuses:

label
odoo:saas-18.1-17.0-aggregated-chart-xlsx-export-adrm-432590-fw
head
11592593c56aacdfc0b0e84e2dd58e8b88cb4e61
merged
10 months ago by BI, Adrien Minne (adrm)
odoo/o-spreadsheet
17.0 #6075
saas-17.4 #6223
18.0 #6234
saas-18.1 #6238
saas-18.2 #6239
saas-18.3 #6241
saas-18.4
19.0
saas-19.1
saas-19.2
master #6242

[FW][FIX] xlsx: correctly export aggregated charts

Description

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: 4714410

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: #6234
Forward-Port-Of: #6075