odoo/o-spreadsheet#2797

Created by BI, Lucas Lefèvre (lul)

Blocked

label
odoo:saas-16.4-export-array-formula-lul
head
0c1ba1b0bf0b62a516f18c7713e2c27227673d5c
odoo/o-spreadsheet
saas-16.4 #2797 missing r+
16.0
17.0
18.0
saas-18.2
saas-18.3
saas-18.4
19.0
saas-19.1
master

[FIX] xlsx: export array formula

Strange Excel Online behavior: =TRANSPOSE(A1:A10) seem to be exported as {=TRANSPOSE(A1:A10)} and the array can't be modified. Same behavior if exporting from GSheet and importing to excel online

When exporting from Excel Online, the cell has properties in a futureMetadata tag, looks like they are using a more recent file format version.

Description:

description of this task, what is implemented and why it is implemented that way.

Task: : TASK_ID

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 (_lt("qmsdf %s", abc))
  • [ ] unit tested
  • [ ] clean commented code
  • [ ] track breaking changes
  • [ ] doc is rebuild (npm run doc)
  • [ ] status is correct in Odoo