odoo/o-spreadsheet#6431
Created by fw-bot
Merged
at 79d0b59a3c3e9eeb8fae9d1fbdbdeeb31533b96a
Statuses:
- label
- odoo:saas-18.2-18.0-fix-standalone-composer-locale-adrm-436604-fw
- head
- b63d0a92db8a22f019e097e0fd1215024a854d14
- merged
- 8 months ago by BI, Adrien Minne (adrm)
| odoo/o-spreadsheet | |
|---|---|
| 18.0 | #6127 |
| saas-18.1 | #6425 |
| saas-18.2 | #6431 |
| saas-18.3 | #6432 |
| saas-18.4 | |
| 19.0 | |
| saas-19.1 | |
| master | #6433 |
[FW] Standalone composer fixes
[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