Skip to content

Conversation

@hokolomopo
Copy link
Contributor

Description

When deleting the pivot style numberOfRows or numberOfColumns in the pivot design panel, the pivot would be in error. This was because we didn't handle the cases where the content on the input was not a number, and would set NaN values.

Task: 5220970

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

When deleting the pivot style numberOfRows or numberOfColumns in the
pivot design panel, the pivot would be in error. This was because we
didn't handle the cases where the content on the input was not a number,
and would set `NaN` values.

Task: 5220970
@robodoo
Copy link
Collaborator

robodoo commented Oct 29, 2025

Pull request status dashboard

Copy link
Collaborator

@LucasLefevre LucasLefevre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

robodoo r+

robodoo pushed a commit that referenced this pull request Nov 12, 2025
When deleting the pivot style numberOfRows or numberOfColumns in the
pivot design panel, the pivot would be in error. This was because we
didn't handle the cases where the content on the input was not a number,
and would set `NaN` values.

closes #7384

Task: 5220970
Signed-off-by: Lucas Lefèvre (lul) <[email protected]>
@robodoo robodoo added the 19.1 label Nov 12, 2025
@robodoo robodoo closed this Nov 12, 2025
@fw-bot fw-bot deleted the master-fix-pivot-design-panel-adrm branch November 19, 2025 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants