odoo/o-spreadsheet#5356

Created by Fun Subscription - Sign - Cal, Florian Damhaut (flda)
Merged at 6282400ec09e19c2c0f4c6bebe2cc03a1aa0af62

Statuses:

label
odoo:master-spreadsheet-figure-anchor-flda
head
f0debe82e7341098f2b4e967b056ff8de5122fdb
merged
9 months ago by BI, Rémi Rahir (rar)
odoo/o-spreadsheet
master #5356

[IMP] figures: add anchor to figures

Description:

[IMP] figures: add anchor to figures

Add possibilities for chart to be anchored to the
top-left corner cell. If a cell is anchored, it
will be moving with the cell on modification of the sheet
(i.e. col/row addition/deletion).

The figure can still have a fixed position, this will act
as if the anchor is placed in the left-most, top-most cell.

task-4189170

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