PR#https://github.com/odoo/o-spreadsheet/pull/4205 introduced a #SPILL error when array formulas attempted to spread into merged cells. However, an incorrect logic in retrieving merged cells for specific range caused inconsistent behavior.
This PR corrects the logic to accurately retrieve merged cells within the specified range.
Description:
PR#https://github.com/odoo/o-spreadsheet/pull/4205 introduced a #SPILL error when array formulas attempted to spread into merged cells. However, an incorrect logic in retrieving merged cells for specific range caused inconsistent behavior.
This PR corrects the logic to accurately retrieve merged cells within the specified range.
Task: : 4043638
review checklist