odoo/o-spreadsheet#4517

Created by BI, Dhrutik Patel (dhrp)
Merged at ce5cb3862149c0a86f37f03b1fd9d8c6d5e97f63

Statuses:

label
odoo:master-imp-f-n-r-replace-warning-dhrp
head
2e1364de725c5f3e0d06c23b38f9ac65140b9a01
merged
3 months ago by BI, Lucas Lefèvre (lul)
odoo/o-spreadsheet
master #4517

[IMP] FindAndReplace: warning when replacing formula

Description:

This PR introduces a warning for users attempting to replace a formula or a part of a formula with a string.

Task: : 3942592

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