odoo / o-spreadsheet

Other
193 stars 44 forks source link

[FIX] evaluation: handle throwing error on each vectorized position #4768

Closed laa-odoo closed 2 months ago

laa-odoo commented 2 months ago

Before this commit, if an error was throw when evaluating a vectorized formula, then the evaluation stopped and only the cell with the formula was marked as an error. No other values ​​were spread.

This behavior is functionally false, because depending on the arguments passed, it is possible that on this vector position, the evaluation does not return an error.

This commit changes that by making sure to try for each vector position if the evaluation works. Even though it only spreads errors in certain cases.

Task: : 4091276

review checklist

robodoo commented 2 months ago

Pull request status dashboard