odoo/o-spreadsheet#7326

Created by Ronakkumar Mukeshbhai Bharadiya (rmbh)
Merged at 7e0b25bd8f393e2de0f0dcecb2a7a5aeb25476a7

Statuses:

label
odoo:saas-18.2-fix-helper-xc-rmbh
head
92a4df9c287bfa9af46acc02800a6e6e9f8ad00c
merged
2 months ago by BI, Rémi Rahir (rar)
odoo/o-spreadsheet
saas-18.2 #7326
saas-18.3 #7422

[FIX] helpers: setXcToFixedReferenceType support all xc

Description:

Backport of task 4743563 from saas-18.4. Ensures both parts of an xc
reference are treated as static in the standalone composer.

Current behavior before PR:
- The static reference only considered the part before ':'.

Desired behavior after PR is merged:
- Both the part before and after ':' are now correctly treated as static.

Task: 5165969

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