odoo/o-spreadsheet#3497
Created by BI, Lucas Lefèvre (lul)
- label
- odoo:15.0-format-escape-lul
- head
- 74321a8a8c5186cc25ad644b341ab915fe7294fb
- target
- 15.0
- merged
- 3 months ago by BI, Pierre Rousseau (pro)
- forward-ports
- odoo/o-spreadsheet#3607 targeting master
- odoo/o-spreadsheet#3606 targeting saas-17.1
- odoo/o-spreadsheet#3605 targeting 17.0
- odoo/o-spreadsheet#3565 targeting saas-16.4
- odoo/o-spreadsheet#3563 targeting saas-16.3
- odoo/o-spreadsheet#3562 targeting saas-16.2
- odoo/o-spreadsheet#3560 targeting saas-16.1
- odoo/o-spreadsheet#3559 targeting 16.0
- odoo/o-spreadsheet#3557 targeting saas-15.2
[FIX] formatting: do not show escape character
## Description:
If you want to use double quotes in a string which is part of a formula, you have to escape it using a backslash (="hello \"world\"") However, the backslash is shown when displaying the cell content.
Task: : [3698283](https://www.odoo.com/web#id=3698283&action=333&active_id=2328&model=project.task&view_type=form&cids=1&menu_id=4720)
## 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