account_move_cancel_confirm
Provide a cancellation confirmation workflow for journal entries and payments so users can optionally record reasons before finalizing cancellations.
Key Features
- account.move: Displays a cancel confirmation wizard requesting an optional reason before a journal entry or invoice can be cancelled.
- account.move: Propagates the cancel reason from linked payment cancellations so the move bypasses the wizard when the justification already exists.
- account.move: Removes cancel confirmation flags and reasons when the entry is reset to draft.
- account.payment: Shows a cancellation confirmation wizard with an optional reason before a payment is cancelled.
- account.payment: Clears the stored cancellation reason and confirmation state when the payment is reverted to draft.