odoo/o-spreadsheet#5223

Created by BI, Adrien Minne (adrm)

Blocked

label
odoo:16.0-figure-dnd-delete-adrm
head
d76d3455c4ccc4d570cff2844ffe6113ccb06ec1
odoo/o-spreadsheet
16.0 #5223 missing r+
17.0
saas-17.2
saas-17.4
18.0
master

[FIX] figure: crash on deleting dragged figure

Description

There was a traceback if a figure was deleted while being dragged.

Task: 4329240

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