Skip to content

[FIX] xlsx: correctly export aggregated charts#6964

Closed
fw-bot wants to merge 1 commit intomasterfrom
master-saas-18.1-fix-chart-export-aggregate-adrm-457571-fw
Closed

[FIX] xlsx: correctly export aggregated charts#6964
fw-bot wants to merge 1 commit intomasterfrom
master-saas-18.1-fix-chart-export-aggregate-adrm-457571-fw

Conversation

@fw-bot
Copy link
Collaborator

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

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

@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 #6818 failed.

stdout:

Auto-merging src/helpers/figures/charts/radar_chart.ts
CONFLICT (content): Merge conflict in src/helpers/figures/charts/radar_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 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
X-original-commit: b3e59cd
@rrahir rrahir force-pushed the master-saas-18.1-fix-chart-export-aggregate-adrm-457571-fw branch from c9de917 to f7ca071 Compare August 22, 2025 08:55
@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 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.

closes #6964

Task: 4954426
X-original-commit: b3e59cd
Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
@robodoo robodoo added the 18.5 label Aug 22, 2025
@robodoo robodoo closed this Aug 22, 2025
@fw-bot fw-bot deleted the master-saas-18.1-fix-chart-export-aggregate-adrm-457571-fw branch August 29, 2025 09:19
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