odoo/o-spreadsheet#7369

Created by BI, Adrien Minne (adrm)

Blocked

label
odoo:17.0-header-overlay-read-only-adrm
head
e1c02f4aa84f3a79d2b56604af10e595c9a4ec45
odoo/o-spreadsheet
17.0 #7369 missing r+
18.0
saas-18.2
saas-18.3
saas-18.4
19.0
master

[FIX] headers_overlay: disable interaction in read-only mode

Description

The drag & drop to move headers, and the handle to resize headers were both enabled in read-only mode. This commit disable those.

Task: 5182854

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