odoo/o-spreadsheet#8180
Created by BI, Adrien Minne (adrm)
Merged
at 93c836300573cf5bb3d37b95e5ba3cc83be5b93e
Statuses:
- label
- odoo:master-fix-column-stats-adrm
- head
- 55c7ebb425982ece54334fd07a0245ef57071934
- merged
- 2 weeks ago by BI, Pierre Rousseau (pro)
| odoo/o-spreadsheet | |
|---|---|
| master | #8180 |
[FIX] column statistic: chart is sometime missing
Description
If there are no data to show in the column statistic side panel in the Distribution section, going back to the Count section would display a blank chart. It was because we were trying to create the Chart before its canvas was mounted in the DOM.
There was also some missing padding, and we didn't use the generic Section component everywhere.
Task: 6057322
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