odoo/o-spreadsheet#6237

Created by fw-bot
Merged at 774fb7213ad02b69e7a4ce353be1ccd57a8bd93a

Statuses:

label
odoo:master-master-spreadsheet-survey-adrm-432594-fw
head
a6277f14dc773c28934f20113874e7be4d33a3ce
merged
9 months ago by BI, Adrien Minne (adrm)
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

[FW][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

Forward-Port-Of: #6226
Forward-Port-Of: #4427