odoo/o-spreadsheet#7737

Created by fw-bot
Merged at 673dd2ee72b050b32d25bb49db0ecd20b64af22d

Statuses:

label
odoo:saas-18.2-18.0-fix-find-and-replace-specific-range-adrm-485027-fw
head
09cda7bff1634a63ee1f145f315098cc6de28a38
merged
1 week ago by BI, Adrien Minne (adrm)
odoo/o-spreadsheet
18.0 #7667
saas-18.2 #7737
saas-18.3 #7747
saas-18.4 #7748
19.0 #7749
saas-19.1 #7750
master #7754

[FIX] f&r: the searched range should follow the active sheet

Description

When searching a value in a specific range in the Find & Replace panel, the range should be updated when changing the active sheet.

We actually had a test for this behavior, but the test was skipped 2 years ago during a refactoring, and never fixed.

Task: 5423885

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