odoo/o-spreadsheet#7464

Created by fw-bot
Merged at eccc2e02f0af8caab5d100910795bafdc85c5d59

Statuses:

label
odoo:19.0-saas-18.4-fix-reference-type-single-quote-sheet-rmbh-475455-fw
head
98b511e89dc3004dabb1043cb8c81d7f61836c74
merged
1 week ago by BI, Lucas Lefèvre (lul)
odoo/o-spreadsheet
saas-18.4 #7409
19.0 #7464
master #7465

[FIX] reference_type: add single quotes for sheet names with spaces

Description:

Before this commit:
- splitReference removed single quotes from sheet names.

After this commit:
- Applied getCanonicalSymbolName after splitReference to ensure sheet
Names with spaces keep their quotes.

Task: 5244798

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: #7409