odoo/o-spreadsheet#8578

Created by Marceline Thomas (matho)
Merged at a8deb38b10ceea1bba3a1fc15c0dcc0a893a521f

Statuses:

label
odoo:saas-19.3-fix-change-chart-type-matho
head
abc1704dec3e7a7b35db6e47f631bfc9c561e2a5
merged
4 days ago by BI, Pierre Rousseau (pro)
odoo/o-spreadsheet
saas-19.3 #8578
master #8748

[FIX] Chart type: first chart type change resulted in empty chart

Before this commit:
When changing the chart type for the first time, the dataSource in the chart definition was empty, which caused the chart to be empty.

How to reproduce:
1. Create a chart
2. Change the chart type in the side panel from bar to sunburst
3. The chart becomes empty
4. Change again the chart type to bar, the chart is not empty
5. Change again the chart type to sunburst, the chart is not empty

Task: 6197123

review checklist