odoo/o-spreadsheet#3902

Created by fw-bot
Merged at 88f98a9199b298b4eff081e2407714773ac4c69e

Statuses:

label
odoo:saas-17.2-17.0-export-export-non-Excel-formulas-as-value-jula-RlNU-fw
head
08c0551b83468d40a3b4a984bd24eb4eac339f55
merged
2 years ago by BI, Vincent Schippefilt (vsc)
odoo/o-spreadsheet
17.0 #3856
saas-17.1 #3874
18.0
saas-17.2 #3902
19.0
saas-19.1
saas-19.2
saas-19.3
saas-19.4
20.0
master #3903

[FW][FIX] export: export non-Excel formulas as value

Current behavior before commit:
Since the commit 201aea7, when formulaCell is a FormulaCellWithDependencies, content might be set to raw formula even if it is not readable by Excel.

Description of the fix:
Prevent content to be set to the raw formula if isFormula === false.

Example of steps to reproduce the issue:
- Write a number in A1
- Write =FORMAT.LARGE.NUMBER(A1) in A2
- Save as XLSX and open in Excel -> A2 is not evaluated by Excel

opw-3782676

review checklist

Forward-Port-Of: #3874
Forward-Port-Of: #3856