Commit c23e492
committed
[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
closes #7458
Task: 5261987
Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>1 parent 7edc3b5 commit c23e492
File tree
2 files changed
+13
-1
lines changed- src/functions
- tests/functions
2 files changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1442 | 1442 | | |
1443 | 1443 | | |
1444 | 1444 | | |
1445 | | - | |
| 1445 | + | |
1446 | 1446 | | |
1447 | 1447 | | |
1448 | 1448 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3129 | 3129 | | |
3130 | 3130 | | |
3131 | 3131 | | |
| 3132 | + | |
| 3133 | + | |
| 3134 | + | |
| 3135 | + | |
| 3136 | + | |
| 3137 | + | |
| 3138 | + | |
| 3139 | + | |
| 3140 | + | |
| 3141 | + | |
| 3142 | + | |
| 3143 | + | |
3132 | 3144 | | |
3133 | 3145 | | |
3134 | 3146 | | |
| |||
0 commit comments