odoo/o-spreadsheet#7180

Created by BI, Rémi Rahir (rar)

Blocked

label
odoo:18.0-fix-dep-measure-pivot-rar
head
92097b0bf801f14fb404603dd4099a954b455431
odoo/o-spreadsheet
18.0 #7180 missing r+
saas-18.2
saas-18.3
saas-18.4
19.0
master

[FIX] Pivot: ignore invalid dependencies

When adding the dependencies of the computed measures, we would not filter out references to inexistant sheets. This added wrong dependencies to the graph and would trigger false positives for the invalidation of the concerned pivot.

task-0

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