odoo/o-spreadsheet#7465

Created by fw-bot
Merged at 04b8575fe2d4cb5b23b83287098f0b2f6dfaaf31

Statuses:

label
odoo:master-saas-18.4-fix-reference-type-single-quote-sheet-rmbh-477250-fw
head
9a426dbcebe5b16faf45aea1c59d917b959193ed
merged
1 week ago by Ronakkumar Mukeshbhai Bharadiya (rmbh)
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