odoo/o-spreadsheet#6127
Created by BI, Adrien Minne (adrm)
Merged
at 85faffbbad75decaf638fafc9259beb79147b49e
Statuses:
- label
- odoo:18.0-fix-standalone-composer-locale-adrm
- head
- a09045bde03d5df40952478a7516ca0f7cf1a038
- merged
- 8 months ago by BI, Lucas Lefèvre (lul)
| 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 |
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