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 Contracts can terminate or cancel termination of contracts.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Lets authorized users terminate a contract with a reason, comment and date, and reactivate it later. Terminated contracts show a warning and become read-only, and their lines can no longer be renewed or modified.
This module adds a proper way to end a contract instead of just cancelling it. On the contract form, users who belong to the new group "Contract: Can Terminate Contracts" see a "Terminate Contract" button. Clicking it opens a small wizard where they must choose a termination reason and a termination date, and can add a comment. Each reason can be configured to make the comment mandatory, and there is an option to stop contract lines at their last invoiced date when they cannot be stopped at the chosen date.
Once terminated, the contract shows a red alert with the reason, date and comment. The contract and its lines become read-only, the "Send" action is hidden, and the buttons change to "Update Termination Details" and "Cancel Contract Termination". Cancelling the termination clears the reason, comment and date and makes the contract editable again.
Terminated contracts are excluded from renewal, and their lines can no longer be stopped, cancelled, uncancelled or planned for succession. Termination reasons are managed from a new menu under Contracts configuration, and only users with the termination group can terminate or reactivate contracts.
Depends on
Required by other modules
Models and fields (4)
- contract.line · extends an existing model
- contract.contract · extends an existing modelis_terminated (Terminated), terminate_date (Termination Date), terminate_comment (Termination Comment), terminate_reason_id (Termination Reason)
- contract.terminate.reason · new modelname, terminate_comment_required (Require a termination comment)
- contract.contract.terminate · new modelcontract_id (Contract), terminate_date (Termination Date), terminate_comment (Termination Comment), terminate_reason_id (Termination Reason), terminate_comment_required, terminate_with_last_date_invoiced (Terminate lines with last date invoiced)
Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/contract.
terminal Installation and usage
OCA documentation · Odoo 19.0Configuration
Source · Odoo 19.0- Define Termination Reasons
- Go to Contracts > Configuration > Termination Reasons.
- Create reasons for contract termination (e.g., Customer decision, End of service).
- Assign Rights
- Assign the group
Can terminate contractsto users who should be allowed to terminate contracts. - Optional
- Define whether a termination comment should be required per reason.
Usage
Source · Odoo 19.0- Open an active contract.
- Click on the Terminate Contract button.
- Provide the termination reason, comment, and date.
- After termination:
- The contract becomes read-only.
- An alert banner shows the termination details.
- If necessary, you can Update Termination Details or Cancel Contract Termination to reactivate the contract.
No verified information in OCA: Installation.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.