We are encountering a severe #CYCLE (Circular Reference) error in an Odoo 18 Spreadsheet. The issue stems from a specific calculation structure where adjacent cells mutually reference each other within IF conditions.
The Problem Structure:
The cycle occurs because one cell uses its adjacent cell in its conditional check, and that adjacent cell, in turn, uses the first cell in its calculation, creating a closed dependency loop.
| Cell | Formula | Reciprocal Dependency |
| Calculos!F5 | =IF(F6=""; ... ;"") | Depends on F6 (in the condition) |
| Calculos!C6 | =IF($O$5="Externo"; F5 + 2*I5 ;"") | Depends on F5 (in the calculation) |
| Chain | F5 -> F6 -> C5 ->C6 ->F5 | Closed Cycle: F5 feeds back into itself |
Questions:
- Is there an Iterative Calculation feature in Odoo Spreadsheet that can be enabled to handle mutual dependencies?
- What is the recommended best practice for breaking this specific cycle in Odoo (e.g., using Helper Cells for pure calculations)?
Thank you for your assistance in finding an architectural solution for this dependency pattern.