odoo/o-spreadsheet#7419

Created by fw-bot
Merged at 832bfd4fd4da8b2c8ca9e493289e60e61a88a8d3

Statuses:

label
odoo:saas-18.2-17.0-fix-invalid-sheet-name-adrm-475502-fw
head
a0663c6c8f8fba303b72cf9fe6b91381128f9dc1
merged
3 weeks ago by BI, Lucas Lefèvre (lul)
odoo/o-spreadsheet
17.0 #7337
18.0 #7416
saas-18.2 #7419
saas-18.3 #7420
saas-18.4 #7430
19.0 #7433
master #7445

[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

Forward-Port-Of: #7416
Forward-Port-Of: #7337