odoo/o-spreadsheet#4568
Created by BI, Adrien Minne (adrm)
Merged
at 4f65c0017e30f7d0200ad75a8805a7ee81832fae
Statuses:
- label
- odoo:16.0-linear-chart-cumulative-adrm
- head
- f24af5914fe56aa10ef49502a824a3970956fefc
- merged
- 3 months ago by BI, Pierre Rousseau (pro)
odoo/o-spreadsheet | |
---|---|
16.0 | #4568 |
17.0 | #4579 |
saas-17.1 | #4582 |
saas-17.2 | #4583 |
saas-17.3 | #4584 |
master | #4585 |
[FIX] chart: cumulative not working for linear charts
Description
The cumulative
chart option was not working for line charts with a linear/time axis.
This was because the data in the linear charts
runtime was an array of objects {x, y}
rather than an array of numbers, and this wasn't properly handled in the cumulative computations.
Task: : 4028957
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