odoo/o-spreadsheet#4736

Created by fw-bot
Merged at d52650239347441802f033a235c5e8a9146f8cba

Statuses:

label
odoo:master-master-highlight-remove_array_formula-anhe-gxTM-fw
head
a2b3415a74057bf6762a0594dbfe1779f0e62637
merged
1 year ago by BI, Lucas Lefèvre (lul)
odoo/o-spreadsheet
saas-17.4 #4641
18.0
saas-18.1
saas-18.2
saas-18.3
saas-18.4
master #4736

[FW][FIX] evaluation: correctly resets the `spreadingRelations`

Task Description

When updating the content of a cell, the spreadingRelations isn't reset if we clear the cell or put a scalar content in a cell where there was an array before. This causes an issue where the highlight of the array formula is still present event after deleting the content of the cell.

Related Task

Task: 4014088

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