Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] evaluation: addDependencies now evaluate cell
Task Description When adding a new dependency to a cell (like in the INDIRECT formula), we have to make sure the dependency have been evaluated before computing the formula result. To make sure it has at the first evaluation cycle, we need to force the evaluation of the dependency. This was done by triggering the evaluation of a new formula, by evaluating a string containing only a reference to the dependency (the XC path). This PR update the addDependency method to directly evaluate (if needed) the new dependency when adding it, in the evaluator, instead of using the hack of triggering an evaluation after. closes #4176 Task: 3916213 Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>
- Loading branch information