odoo/o-spreadsheet#4641

Created by BI, Hendrickx Anthony (anhe)
Merged at 440ee42f781e0da7b84ce74a2cc1ba634bd1b2d2

Statuses:

label
odoo:master-highlight-remove_array_formula-anhe
head
d6661c324a57109b9fc0cef3f921d36c70dc7073
merged
3 months ago by BI, Lucas Lefèvre (lul)
odoo/o-spreadsheet
saas-17.4 #4641
master #4736

[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

  1. odoo/enterprise#44075 ↩↩

  2. https://github.com/wkhtmltopdf/packaging/releases ↩