Commit 8608ee2
committed
[FIX] export: image charts as base64
During the split of the model, we changed the way the image generated for charts were handled.
It worked well, except when exporting with Odoo because the zipping is done server side and the image
definition was only available server side though URL.createObjectIrl()
This fix uses the standard fileReader to obtrain a true base64 image as text, like before
closes #7439
Task: 5253880
Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>1 parent 8a5c1ba commit 8608ee2
File tree
1 file changed
+7
-3
lines changed- packages/o-spreadsheet-engine/src/helpers/figures/charts
1 file changed
+7
-3
lines changedLines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
131 | | - | |
132 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
133 | 137 | | |
0 commit comments