odoo/o-spreadsheet#7960

Created by BI, Pierre Rousseau (pro)

Blocked

label
odoo:master-dependency-chart-pro
head
db3c7fe40d40b1c5eff779b3f9adb869e91945f7
odoo/o-spreadsheet
master #7960 missing statuses missing r+

[IMP] evaluation: selectively invalidate chart runtimes

Previously, any UPDATE_CELL or EVALUATE_CELLS
command would invalidate all chart runtimes,
causing every chart to be fully re-computed even
when the edited cell had no relation to any chart.

Chart runtimes are now only invalidated when the
re-evaluated cells actually overlap with the
chart's data ranges (datasets and label range).

Description:

description of this task, what is implemented and why it is implemented that way.

Task: TASK_ID

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