OCA / spreadsheet

GNU Affero General Public License v3.0
46 stars 47 forks source link

[FIX] spreadsheet_oca: Cannot open spreadsheet when using undo / redo commands #26

Closed royle-vietnam closed 6 months ago

royle-vietnam commented 8 months ago

Steps:

  1. Open spreadsheet
  2. Press command Ctrl + Z
  3. F5 (refresh browse)

An error occurred: Operation undefined not found

Because missing key undoneRevisionId / redoneRevisionId in revisions data

Solutions: Save all spreadsheet message in commands field

michelerusti commented 6 months ago

Works like a charm

tests would e appreciated

OCA-git-bot commented 6 months ago

On my way to merge this fine PR! Prepared branch 16.0-ocabot-merge-pr-26-by-pedrobaeza-bump-patch, awaiting test results.

OCA-git-bot commented 6 months ago

Congratulations, your PR was merged at 22835c2a2107c6e8da0a03857b7a0565525b2e1d. Thanks a lot for contributing to OCA. ❤️