odoo/o-spreadsheet#2259

Created by Simon Genin (ges)
Closed
label
odoo:master-version-history-ges
head
9c54b17f202774f3fdcee13a60b4220015dac03e
odoo/o-spreadsheet
master #2259

[WIP] Version history

Add a version history sidepanel, containing a list with all the revisions.
When opened, the spreadsheet goes in readonly mode.
When a revision is selected, the spreadsheet display its state when the revision occured.

Odoo task ID : 3142006

review checklist

  • [ ] feature is organized in plugin, or UI components
  • [x] support of duplicate sheet (deep copy)
  • [x] in model/core: ranges are Range object, and can be adapted (adaptRanges)
  • [x] in model/UI: ranges are strings (to show the user)
  • [x] undo-able commands (uses this.history.update)
  • [x] multiuser-able commands (has inverse commands and transformations where needed)
  • [x] new/updated/removed commands are documented
  • [x] exportable in excel
  • [ ] translations (_lt("qmsdf %s", abc))
  • [ ] unit tested
  • [ ] clean commented code
  • [ ] track breaking changes
  • [ ] doc is rebuild (npm run doc)
  • [ ] status is correct in Odoo