Contract Termination
contract_termination · OCA/contract
Health
77/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by15/251 module depends on it
-
Maturity12/25In 2 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.12 MB
Module directory on disk
Code analysis
0 migration notes
4 models
4 views
0 HTTP endpoints
Description
The Contract Termination module extends the contract module, allowing
users to properly manage the termination of contracts.
It provides functionality to terminate contracts with a reason, track
termination comments and dates, and prevent further modifications on terminated
contracts unless reactivated.
Features
-
Terminate Contracts
- Users with the appropriate rights can terminate active contracts.
- Capture a termination reason, comment, and termination date.
-
Update or Cancel Termination
- Update termination details if needed.
- Cancel (reactivate) a terminated contract.
-
Contract Form Enhancements
- Display an alert on terminated contracts with the reason and comment.
- Hide or disable contract actions (e.g., Send) and fields on terminated contracts.
- Set contract fields as read-only after termination.
-
Permissions
- Only users with the group
Contract: Can Terminate Contractscan terminate or cancel termination of contracts.
- Only users with the group
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
contract_contract_form_view |
contract.contract | form | Inherits contract.contract_contract_form_view | |
contract_contract_terminate_form_view |
contract.contract.terminate | form | New | |
contract_terminate_reason_form_view |
contract.terminate.reason | form | New | |
contract_terminate_reason_tree_view |
contract.terminate.reason | list | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
New fields (4)
-
is_terminatedBooleancopy=Falsereadonly=Truestring='Terminated' -
terminate_commentTextcopy=Falsereadonly=Truestring='Termination Comment'tracking=True -
terminate_dateDatecopy=Falsereadonly=Truestring='Termination Date'tracking=True -
terminate_reason_idMany2one → contract.terminate.reasoncomodel_name='contract.terminate.reason'copy=Falseondelete='restrict'readonly=Truestring='Termination Reason'tracking=True
-
action_cancel_contract_termination(self) -
action_terminate_contract(self)
New fields (6)
-
contract_idMany2one → contract.contractcomodel_name='contract.contract'ondelete='cascade'required=True -
terminate_commentTextstring='Termination Comment' -
terminate_comment_requiredBooleanrelated='terminate_reason_id.terminate_comment_required' -
terminate_dateDaterequired=Truestring='Termination Date' -
terminate_reason_idMany2one → contract.terminate.reasoncomodel_name='contract.terminate.reason'ondelete='cascade'required=Truestring='Termination Reason' -
terminate_with_last_date_invoicedBooleanhelp='Terminate the contract lines with the last invoiced date if they cannot be terminated with the date reported in the wizard.'string='Terminate lines with last date invoiced'
-
terminate_contract(self)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (2)
-
nameCharrequired=True -
terminate_comment_requiredBooleandefault=Truestring='Require a termination comment'
No public methods.
Loading…
Loading…