odoo/o-spreadsheet#6473
Created by BI, Lucas Lefèvre (lul)
Merged
at c737e58d04398ca9385115e9f73bb188193ad086
Statuses:
- label
- odoo:saas-18.1-fieldnamesortedcolumn-lul
- head
- 80a629ac7bd5088625bec48d582e56db87c9eb10
- merged
- 2 weeks ago by BI, Pierre Rousseau (pro)
odoo/o-spreadsheet | |
---|---|
saas-18.1 | #6473 |
saas-18.2 | #6533 |
saas-18.3 | #6534 |
master | #6540 |
[FIX] pivot: support sorted column with field name
Description:
Fix for an upgrade issue: the sortedColumn measure was not updated from using fieldName to using id. If the sortedColumn measure matches a measure fieldName in the definition, update it to use the measure's id instead of its fieldName.
Task: 4816705
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