Skip to content

[ADD] global_undo: undo/redo backend ops with Ctrl+Z - #3685

Closed
QubiQBcn wants to merge 1 commit into
OCA:18.0from
QubiQ:18.0-add-global_undo
Closed

[ADD] global_undo: undo/redo backend ops with Ctrl+Z#3685
QubiQBcn wants to merge 1 commit into
OCA:18.0from
QubiQ:18.0-add-global_undo

Conversation

@QubiQBcn

@QubiQBcn QubiQBcn commented Jul 27, 2026

Copy link
Copy Markdown

Why

You save a wrong change, confirm an order, post an invoice, or delete a record — and there is no Ctrl+Z. Cancel/draft flows, manual fixes, or a restore are the only options. Odoo has no general undo for backend work.

What it does

  • Records create / write / unlink and reversible actions (confirm SO/PO, post invoice) as one step per form save.
  • Ctrl+Z / Ctrl+Shift+Z and a systray (undo, redo, last 10 steps). Inside inputs, Ctrl+Z stays native.
  • History + trash under Settings → Global Undo. Unsafe undos are refused, not forced.

Limits

Skips technical models, ledger rows, mass ops, sudo and non-web-client writes. Does not reverse mail/APIs. Respects accounting integrity.

Journal user CRUD and reversible business actions so they can be
undone/redone from the systray, with history and a recoverable trash.
@polqubiq

Copy link
Copy Markdown
Contributor

Superseded by #3686 (same branch, opened from @polqubiq).

@polqubiq

Copy link
Copy Markdown
Contributor

Superseded by #3686.

@QubiQBcn

Copy link
Copy Markdown
Author

Superseded by #3686 (same change, from @polqubiq).

@QubiQBcn QubiQBcn closed this Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants