TIP: You can type at any time to perform a new search.
Base Cancel Confirm
base_cancel_confirm · OCA/server-ux
- Repository
- OCA/server-ux · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Usability
- Folder size
- 0.06 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/server-ux
- Last tracking update
- 2026-08-07 09:06:24
- Authors
- Odoo Community Association (OCA), Ecosoft
- Maintainers
- Odoo Community Association (OCA), Ecosoft
- Committers
- JordiMForgeFlow, OCA-git-bot, oca-ci, JasminSForgeFlow
- Odoo dependencies
-
odoo/odoo:- base
- Python dependencies
- None
- System dependencies
- None
- Required by
- account_move_cancel_confirm
- Description
Many document model that already has cancel action may also want a confirm dialog with option to provide reason. This module does not provide a functionality by itself but an abstract model to easily implement a confirm with reason wizard when cancel button is clicked. If reason is provided, it will be visible in form view. **Note:** To be able to use this module in a new model you will need some development. You can see implementation example as followings, - [sale_cancel_confirm](https://github.com/OCA/sale-workflow) - [purchase_cancel_confirm](https://github.com/OCA/purchase-workflow) - [purchase_request_cancel_confirm](https://github.com/OCA/purchase-workflow) - [account_move_cancel_confirm](https://github.com/OCA/account-invoicing)
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
cancel_reason_template |
cancel_reason_template | ir.ui.view | qweb | New |
view_cancel_confirm_wizard |
Cancel Confirmation | cancel.confirm | form | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (2)
-
cancel_confirmBooleancopy=Falsedefault=<expr>help='A flag signify that this document is confirmed for cancellation'string='Cancel Confirmed' -
cancel_reasonTextcopy=Falsehelp='An optional cancel reason'
-
clear_cancel_confirm_data(self) -
get_view(self, view_id=None, view_type='form', **options) -
open_cancel_confirm_wizard(self)
New fields (2)
-
cancel_reasonText -
has_cancel_reasonSelectiondefault='no'required=Trueselection=[('no', 'None'), ('optional', 'Optional'), ('required', 'Required')]
-
confirm_cancel(self)
Loading…
Loading…
Loading…
Loading…
Loading…