odoo/o-spreadsheet#7458

Created by BI, Lucas Lefèvre (lul)

Blocked

label
odoo:19.0-vectorized-subtotal-lul
head
8d8edcce96c4d4c57a45935492e2f40f310d019d
odoo/o-spreadsheet
19.0 #7458 missing r+
master

[FIX] functions: ignore vectorized SUBTOTAL

SUBTOTAL should ignore SUBTOTAL values from a spilled formula

A1: "1"
A2: "1"
A3: "=SUBTOTAL(9, A1:A2) + A1:A2"
A5: "=SUBTOTAL(9, A4)"

=> A5 should be zero because the value in A4 comes from a SUBTOTAL formula and it should be ignored

task-5261987

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