Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] spreadsheet: correctly get pivot id from position
Steps to reproduce in 17.0: There's no way to reproduce the issue in 17.0 because the faulty getter in only called on positions in the active sheet (pivot autofill, global filter auto-matching) Steps to reproduce in saas-17.1: - insert a pivot in a blank spreadsheet - delete all pivot formulas - insert a new sheet - in the new sheet: - in A1: type "1" - in A2: =ODOO.PIVOT(A1) - activate the first sheet again - Open the Data menu => the pivot 1 is marked as being unused, even though it's used in the second sheet closes #4516 Task: 3859472 X-original-commit: 9753532 Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>
- Loading branch information