Skip to content

[FIX] xlsx: correctly export aggregated charts#6986

Closed
fw-bot wants to merge 1 commit intosaas-18.2from
saas-18.2-18.0-fix-chart-export-aggregate-adrm-457561-fw
Closed

[FIX] xlsx: correctly export aggregated charts#6986
fw-bot wants to merge 1 commit intosaas-18.2from
saas-18.2-18.0-fix-chart-export-aggregate-adrm-457561-fw

Conversation

@fw-bot
Copy link
Collaborator

@fw-bot fw-bot commented Aug 22, 2025

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

Forward-Port-Of: #6959
Forward-Port-Of: #6817

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
X-original-commit: cec00d6
@robodoo
Copy link
Collaborator

robodoo commented Aug 22, 2025

Pull request status dashboard

@fw-bot
Copy link
Collaborator Author

fw-bot commented Aug 22, 2025

This PR targets saas-18.2 and is part of the forward-port chain. Further PRs will be created up to master.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

robodoo pushed a commit that referenced this pull request Aug 22, 2025
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.

closes #6986

Task: 4954426
X-original-commit: cec00d6
Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
@robodoo robodoo closed this Aug 22, 2025
@fw-bot fw-bot deleted the saas-18.2-18.0-fix-chart-export-aggregate-adrm-457561-fw branch August 29, 2025 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants