You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[REF] ranges: remove sheetId argument of adaptRanges
The `adaptRanges` method of core plugins took a `sheetId` argument. But:
1) It wasn't easy to understand what it did and when to use it. It
was indicating the sheet with the ranges to adapt, but needed to
be ignored when adapting formulas.
2) In the future addition of named ranges, some adaptations (renaming
a named range) won't have a sheetId, and will need to be applied to
all sheets.
3) The argument was only there as an optimization. But it was useless
in the adaptation of cells formulas, as the `if` was repeated in the
`applyChange` implementation. And other core plugin adaptation costs
are negligible compared to the cells.
This commit removes the `sheetId` argument altogether.
Task: 5380498
Part-of: #7605
Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>
0 commit comments