Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
160 Näkymät

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.

CellFormulaReciprocal 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)
ChainF5 -> F6 -> C5 ->C6 ->F5Closed Cycle: F5 feeds back into itself


Questions:

  1. Is there an Iterative Calculation feature in Odoo Spreadsheet that can be enabled to handle mutual dependencies?
  2. 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.

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
toukok. 25
1530
0
toukok. 24
5
0
helmik. 24
1393
0
lokak. 25
198
1
heinäk. 25
1092