Daily updates from Odoo
Thursday, March 14, 2024
1 change
Resolved issues and error corrections
This fix resolves an issue where certain account report calculations would get stuck in an infinite loop. The problem occurred when using advanced formula features that evaluate to numeric values like 0. By correcting how these values are processed, reports now calculate correctly and complete without hanging.
Original PR description
The criterium might be evaluated but be an int (e.g 0). In that case the computation is stuck in an eternal loop where the criterium is added to `to_treat`. This commit adds a fix for the criterium_val type check. This happens when using subformulas like `if_other_expr_{above,below}`
Forward-Port-Of: odoo/enterprise#58486