o-spreadsheet icon indicating copy to clipboard operation
o-spreadsheet copied to clipboard

[WIP] Version history

Open SimonGenin opened this issue 2 years ago • 1 comments

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

SimonGenin avatar Mar 22 '23 12:03 SimonGenin