Skip to content

[FIX] xlsx: correctly export aggregated charts#6959

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

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

Conversation

@fw-bot
Copy link
Collaborator

@fw-bot fw-bot commented Aug 20, 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: #6817

@robodoo
Copy link
Collaborator

robodoo commented Aug 20, 2025

Pull request status dashboard

@fw-bot
Copy link
Collaborator Author

fw-bot commented Aug 20, 2025

@hokolomopo @rrahir cherrypicking of pull request #6817 failed.

stdout:

Auto-merging src/helpers/figures/charts/combo_chart.ts
Auto-merging src/helpers/figures/charts/scatter_chart.ts
Auto-merging tests/xlsx/xlsx_export.test.ts
CONFLICT (content): Merge conflict in tests/xlsx/xlsx_export.test.ts

Either perform the forward-port manually (and push to this branch, proceeding as usual) or close this PR (maybe?).

In the former case, you may want to edit this PR message as well.

⚠️ after resolving this conflict, you will need to merge it via @robodoo.

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

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: e951963
@rrahir rrahir force-pushed the saas-18.1-18.0-fix-chart-export-aggregate-adrm-451261-fw branch from b079eef to 37674bf Compare August 22, 2025 08:52
@rrahir
Copy link
Collaborator

rrahir commented Aug 22, 2025

robodoo r+

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 #6959

Task: 4954426
X-original-commit: e951963
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.1-18.0-fix-chart-export-aggregate-adrm-451261-fw branch August 29, 2025 09:29
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.

4 participants