odoo/o-spreadsheet#4427

Created by BI, Adrien Minne (adrm)
Merged at d55653058352900eeb5e0306110d0877377df0ca

Statuses:

label
odoo:master-spreadsheet-survey-adrm
head
b42a0cd551b2b16bad755d2461be69f4954b7e1f
merged
9 months ago by BI, Rémi Rahir (rar)
odoo/o-spreadsheet
17.0 #4427
saas-17.4 #6224
18.0 #6225
saas-18.1 #6226
saas-18.2 #6235
saas-18.3 #6236
saas-18.4
19.0
saas-19.1
master #6237

[IMP] sheetview: lazily re-compute viewports on freeze rows

Description

Currently the viewports are immediately recomputed when receiving a FREEZE_ROW command. That means that it's impossible to batch a FREEZE_ROW command with an UPDATE_CELL command, for example, as the header positions are unavailable until the finalize after an UPDATE_CELL command.

Task: : 3600662

review checklist

  • [ ] feature is organized in plugin, or UI components
  • [ ] support of duplicate sheet (deep copy)
  • [ ] in model/core: ranges are Range object, and can be adapted (adaptRanges)
  • [ ] in model/UI: ranges are strings (to show the user)
  • [ ] undo-able commands (uses this.history.update)
  • [ ] multiuser-able commands (has inverse commands and transformations where needed)
  • [ ] new/updated/removed commands are documented
  • [ ] exportable in excel
  • [ ] translations (_t("qmsdf %s", abc))
  • [ ] unit tested
  • [ ] clean commented code
  • [ ] track breaking changes
  • [ ] doc is rebuild (npm run doc)
  • [ ] status is correct in Odoo