odoo/o-spreadsheet#6092
Created by BI, Adrien Minne (adrm)
Merged
at bc4308a91b3814c2e08acc2b500a41cd83e50355
Statuses:
- label
- odoo:master-smart-hierarchical-chart-adrm
- head
- 25f119c69403abba7ae900495aeaa76bd8313334
- merged
- 1 day ago by BI, Pierre Rousseau (pro)
odoo/o-spreadsheet | |
---|---|
master | #6092 |
[IMP] chart: detect hierarchical chart at chart creation
Description
With this commit, at the chart creation we will check if the data in the selected zone looks like a hierarchical dataset (multiple columns with string values, and one column with numeric values). If so, we will create a sunburst chart instead of a car chart.
Task: 4724420
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