Skip to content

Conversation

@rrahir
Copy link
Collaborator

@rrahir rrahir commented Nov 27, 2025

in PR #6773, we changed the color scale definition from a theme string tot an object that allows custom scales. However, the migration assumed the new scale to be a triplet of strings (probably the remnants of a previous implementation idea).

Furthermore, the migration did not account for charts sitting inside a carousel and not a standard figure.

Task: 5363581

Description:

description of this task, what is implemented and why it is implemented that way.

Task: TASK_ID

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

@robodoo
Copy link
Collaborator

robodoo commented Nov 27, 2025

Pull request status dashboard

@rrahir rrahir force-pushed the master-fix-colorscale-migration-rar branch from 36ea6a5 to acc370e Compare November 27, 2025 08:57
in PR #6773, we changed the color scale definition from a theme string
tot an object that allows custom scales. However, the migration assumed
the new scale to be a triplet of strings (probably the remnants of a
previous implementation idea).

Furthermore, the migration did not account for charts sitting inside a
carousel and not a standard figure.

Task: 5363581
@rrahir rrahir force-pushed the master-fix-colorscale-migration-rar branch from acc370e to b3c8eb5 Compare November 27, 2025 09:36
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 Dec 1, 2025
in PR #6773, we changed the color scale definition from a theme string
tot an object that allows custom scales. However, the migration assumed
the new scale to be a triplet of strings (probably the remnants of a
previous implementation idea).

Furthermore, the migration did not account for charts sitting inside a
carousel and not a standard figure.

closes #7545

Task: 5363581
Signed-off-by: Lucas Lefèvre (lul) <[email protected]>
@robodoo robodoo added the 19.1 label Dec 1, 2025
@robodoo robodoo closed this Dec 1, 2025
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