odoo/o-spreadsheet#4585
Created by fw-bot
Merged
at 1b181bac60690af5bb6ec541eb2a84af521af95e
Statuses:
- label
- odoo:master-16.0-linear-chart-cumulative-adrm-2e-x-fw
- head
- 53005208f9293f3f91a07c543bdae3872993c067
- merged
- 3 months ago by BI, Adrien Minne (adrm)
odoo/o-spreadsheet | |
---|---|
16.0 | #4568 |
17.0 | #4579 |
saas-17.1 | #4582 |
saas-17.2 | #4583 |
saas-17.3 | #4584 |
master | #4585 |
[FW][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