odoo/o-spreadsheet#7337

Created by BI, Adrien Minne (adrm)

Blocked

label
odoo:17.0-fix-invalid-sheet-name-adrm
head
5754aed7db692ddc413f46022ea7a894d2f37cf7
odoo/o-spreadsheet
17.0 #7337 missing r+
18.0
saas-18.2
saas-18.3
saas-18.4
19.0
master

[FIX] range: invalid sheet name with special character

Description

If we have a range with an invalid sheet name, the sheet name is not escaped with quotes when it contains special characters when converting the range back to a string.

Task: 5125762

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