Skip to content

Conversation

@fw-bot
Copy link
Collaborator

@fw-bot fw-bot commented May 16, 2025

[FIX] pivot: add invalid indicator for wrong calculated measure

This commit adds an invalid indicator in the standalone composer of
the calculated measure if the formula is invalid.

Note that it's only in error if the compilation is invalid, we cannot
evaluate there as it will be different for each row/col of the pivot.

[FIX] standalone composer: localize content

The content of the standalone composer was not localized.

[IMP] tests: add additional jest matchers

This commit backports the toHaveClass and toHaveAttribute matchers.

Task: 4724069

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: #6431
Forward-Port-Of: #6127

The content of the standalone composer was not localized.

Task: 4724069
X-original-commit: 2f88dcf
This commit adds an `invalid` indicator in the standalone composer of
the calculated measure if the formula is invalid.

Note that it's only in error if the compilation is invalid, we cannot
evaluate there as it will be different for each row/col of the pivot.

Task: 4724069
X-original-commit: 79d0b59
@robodoo
Copy link
Collaborator

robodoo commented May 16, 2025

Pull request status dashboard

@fw-bot
Copy link
Collaborator Author

fw-bot commented May 16, 2025

This PR targets saas-18.3 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

@fw-bot fw-bot mentioned this pull request May 16, 2025
14 tasks
robodoo pushed a commit that referenced this pull request May 19, 2025
The content of the standalone composer was not localized.

Task: 4724069
X-original-commit: 2f88dcf
Part-of: #6432
Signed-off-by: Lucas Lefèvre (lul) <[email protected]>
Signed-off-by: Adrien Minne (adrm) <[email protected]>
robodoo pushed a commit that referenced this pull request May 19, 2025
This commit adds an `invalid` indicator in the standalone composer of
the calculated measure if the formula is invalid.

Note that it's only in error if the compilation is invalid, we cannot
evaluate there as it will be different for each row/col of the pivot.

closes #6432

Task: 4724069
X-original-commit: 79d0b59
Signed-off-by: Lucas Lefèvre (lul) <[email protected]>
Signed-off-by: Adrien Minne (adrm) <[email protected]>
@robodoo robodoo closed this May 19, 2025
@fw-bot fw-bot deleted the saas-18.3-18.0-fix-standalone-composer-locale-adrm-436696-fw branch May 26, 2025 06:10
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