odoo/o-spreadsheet#7692

Created by BI, Rémi Rahir (rar)

Blocked

label
odoo:saas-19.1-fix-update-cell-style-change-rar
head
de4d63e857fdb21a489834376758211bcbb32324
odoo/o-spreadsheet
saas-19.1 #7692 missing r+
master

[FIX] Style: UPDATE_CELL overwrites the cell style

Description:

The command UPDATE_CELL was designed so that any style passed to it
would simply overwrite the cell style. This differs from the
SET_FORMATTING command and unfortunately, the distinction was lost
during recent split of style from the cells.

Task: 5441149

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