odoo/o-spreadsheet#8755

Created by fw-bot
Merged at 46d7a7645ad16a2182a90d2c0be19365036f4b1b

Statuses:

label
odoo:saas-19.3-saas-18.3-fix-unbounded-ranges-rmbh-528210-fw
head
cdf9215b478c87777a1a37f1328ab173c6e6f505
merged
4 days ago by Ronakkumar Mukeshbhai Bharadiya (rmbh)
odoo/o-spreadsheet
saas-18.3 #8533
saas-18.4 #8751
19.0 #8752
saas-19.1 #8753
saas-19.2 #8754
saas-19.3 #8755
master #8757

[FIX] range: correctly handle unbounded ranges on row/col changes

Description:

Steps to reproduce:
- Create a sheet with 3 rows
- Set A1 = 1, A2 = 2, and C1 = SUM(A:A)
- Delete row 3
- Add a new row at the bottom
- Set A3 = 6

Issue:
- Unbounded ranges (e.g. A:A) are not properly updated on row/col changes.
The changeType can be incorrectly computed as NONE or MOVE instead
of RESIZE, causing formulas to miss newly added cells (e.g. A3 in SUM).

Cause:
- Incomplete condition handling for unbounded ranges caused inconsistent
changeType detection across different scenarios.

Fix:
- Refine changeType computation for unbounded ranges by covering all edge
cases and ensuring correct RESIZE behavior when the range should expand.

Task: 6167358

review checklist

Forward-Port-Of: #8533